Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 175.7 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.4 MB / 0.578 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008433, allocations: 86.36 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004749, allocations: 9.844 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2611, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003853/0.265, allocations: 3.914 MB / 0.9047 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003174/0.2682, allocations: 1.578 MB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008179/0.269, allocations: 31.88 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.2694, allocations: 122.8 kB / 0.9064 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.2702, allocations: 182.8 kB / 0.9066 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.2716, allocations: 0.6195 MB / 0.9072 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2727, allocations: 1.144 MB / 0.9083 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006349/0.2733, allocations: 476.2 kB / 0.9088 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.2738, allocations: 349.8 kB / 0.9091 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.2741, allocations: 361.5 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.111e-05/0.2742, allocations: 31.94 kB / 0.9095 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.2743, allocations: 24 kB / 0.9095 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2744, allocations: 147.1 kB / 0.9096 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2746, allocations: 410.8 kB / 0.91 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.2753, allocations: 1.008 MB / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2753, allocations: 3.938 kB / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2753, allocations: 0 / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.2753, allocations: 4 kB / 0.911 GB, free: 52.94 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002019/0.2774, allocations: 1.238 MB / 0.9122 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2774, allocations: 12.03 kB / 0.9123 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.2776, allocations: 118.7 kB / 0.9124 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.2777, allocations: 119.5 kB / 0.9125 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2788, allocations: 0.7391 MB / 0.9132 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.141e-05/0.2789, allocations: 84.25 kB / 0.9133 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.2789, allocations: 72.38 kB / 0.9134 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2801, allocations: 0.7406 MB / 0.9141 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2801, allocations: 0 / 0.9141 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.2802, allocations: 28 kB / 0.9141 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2802, allocations: 20 kB / 0.9141 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/0.2812, allocations: 0.5321 MB / 0.9146 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.284, allocations: 2.29 MB / 0.9169 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2853, allocations: 0.6359 MB / 0.9175 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.2857, allocations: 279.1 kB / 0.9178 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.2858, allocations: 4.562 kB / 0.9178 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006083/0.2864, allocations: 347 kB / 0.9181 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.284e-06/0.2864, allocations: 0 / 0.9181 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001467/0.2879, allocations: 0.7673 MB / 0.9188 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2879, allocations: 89.61 kB / 0.9189 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.2887, allocations: 0.7597 MB / 0.9197 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.2887, allocations: 37.7 kB / 0.9197 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.2889, allocations: 448.4 kB / 0.9201 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.2891, allocations: 201.1 kB / 0.9203 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.2891, allocations: 15.94 kB / 0.9203 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.2892, allocations: 330 kB / 0.9207 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.2896, allocations: 205.2 kB / 0.9209 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.29, allocations: 312.4 kB / 0.9212 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008373/0.2909, allocations: 0.5192 MB / 0.9217 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2909, allocations: 0 / 0.9217 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001134/0.292, allocations: 0.6695 MB / 0.9223 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.2921, allocations: 171 kB / 0.9225 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.2921, allocations: 0 / 0.9225 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2922, allocations: 8 kB / 0.9225 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.2928, allocations: 147.8 kB / 0.9226 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2928, allocations: 7.984 kB / 0.9226 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.2932, allocations: 75.36 kB / 0.9227 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.2933, allocations: 23.98 kB / 0.9227 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.2933, allocations: 4 kB / 0.9227 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008664/0.2942, allocations: 0.5246 MB / 0.9232 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2942, allocations: 4 kB / 0.9232 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.2942, allocations: 4 kB / 0.9233 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.2947, allocations: 143.8 kB / 0.9234 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2947, allocations: 4 kB / 0.9234 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.2951, allocations: 71.59 kB / 0.9235 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.2951, allocations: 20 kB / 0.9235 GB, free: 39.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.2955, allocations: 296.9 kB / 0.9238 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.2956, allocations: 94.78 kB / 0.9239 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.2958, allocations: 109.3 kB / 0.924 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2958, allocations: 8 kB / 0.924 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2958, allocations: 0 / 0.924 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2958, allocations: 7.938 kB / 0.924 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.2976, allocations: 1.454 MB / 0.9254 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2976, allocations: 0 / 0.9254 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.2982, allocations: 103.9 kB / 0.9255 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2982, allocations: 11.88 kB / 0.9255 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.2982, allocations: 12 kB / 0.9255 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2982, allocations: 4 kB / 0.9255 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2982, allocations: 4 kB / 0.9255 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.2997, allocations: 0.9781 MB / 0.9265 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3, allocations: 223.7 kB / 0.9267 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.3001, allocations: 15.98 kB / 0.9267 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.3005, allocations: 43.97 kB / 0.9267 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.3006, allocations: 32.52 kB / 0.9268 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3006, allocations: 23.98 kB / 0.9268 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005288/0.3012, allocations: 0.5226 MB / 0.9273 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3012, allocations: 0 / 0.9273 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006363/0.3018, allocations: 275 kB / 0.9276 GB, free: 35.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.3035, allocations: 1.547 MB / 0.9291 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.305, allocations: 0.8076 MB / 0.9299 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.305, allocations: 3.938 kB / 0.9299 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.3054, allocations: 275.6 kB / 0.9301 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.3066, allocations: 237.9 kB / 0.9304 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.3156, allocations: 7.394 MB / 0.9376 GB, free: 24.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.316, allocations: 1.002 MB / 0.9386 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005781/0.3166, allocations: 114.6 kB / 0.9387 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.317, allocations: 359.3 kB / 0.939 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.317, allocations: 0 / 0.939 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.3459, allocations: 16.45 MB / 0.9551 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.3461, allocations: 211.5 kB / 0.9553 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.493, allocations: 0 / 0.9553 GB, free: 6.914 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)