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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006052/0.006052, allocations: 100.6 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 185.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.7257 GB, free: 9.062 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2832, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00594/0.2892, allocations: 4.351 MB / 0.8323 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.2928, allocations: 1.637 MB / 0.8339 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.2932, allocations: 35.81 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.2937, allocations: 170.2 kB / 0.8341 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.2943, allocations: 226 kB / 0.8343 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.2957, allocations: 0.6652 MB / 0.8349 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.297, allocations: 1.23 MB / 0.8361 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007262/0.2978, allocations: 0.5041 MB / 0.8366 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/0.2983, allocations: 457.9 kB / 0.837 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.2988, allocations: 469.4 kB / 0.8375 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.2989, allocations: 100 kB / 0.8376 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.2991, allocations: 104 kB / 0.8377 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.2993, allocations: 231.1 kB / 0.8379 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.2996, allocations: 0.4892 MB / 0.8384 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3008, allocations: 1.156 MB / 0.8395 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3008, allocations: 0 / 0.8395 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3008, allocations: 7.875 kB / 0.8395 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.3008, allocations: 0 / 0.8395 GB, free: 4.379 MB / 0.6544 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.002476/0.3033, allocations: 1.403 MB / 0.8409 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.3034, allocations: 12.03 kB / 0.8409 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.3036, allocations: 123.4 kB / 0.841 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.305, allocations: 0.7664 MB / 0.8418 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.3051, allocations: 84.27 kB / 0.8419 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3052, allocations: 68.38 kB / 0.8419 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3064, allocations: 0.7329 MB / 0.8426 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3065, allocations: 0 / 0.8426 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.3065, allocations: 32 kB / 0.8427 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.3066, allocations: 20 kB / 0.8427 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3076, allocations: 0.5165 MB / 0.8432 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.3112, allocations: 2.251 MB / 0.8454 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.3128, allocations: 0.6247 MB / 0.846 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.3133, allocations: 275.3 kB / 0.8463 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.3134, allocations: 4.562 kB / 0.8463 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007295/0.3141, allocations: 319.1 kB / 0.8466 GB, free: 12.94 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.358e-06/0.3141, allocations: 4 kB / 0.8466 GB, free: 12.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001914/0.3161, allocations: 0.7555 MB / 0.8473 GB, free: 12.17 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3162, allocations: 89.67 kB / 0.8474 GB, free: 12.06 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3173, allocations: 0.7597 MB / 0.8481 GB, free: 11.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.3173, allocations: 37.7 kB / 0.8482 GB, free: 11.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.3177, allocations: 444.5 kB / 0.8486 GB, free: 10.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.318, allocations: 205 kB / 0.8488 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.3182, allocations: 114.2 kB / 0.8489 GB, free: 10.47 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3183, allocations: 326 kB / 0.8492 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.3188, allocations: 219.3 kB / 0.8494 GB, free: 9.934 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.3193, allocations: 304.5 kB / 0.8497 GB, free: 9.602 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.3203, allocations: 0.5035 MB / 0.8502 GB, free: 9.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3203, allocations: 4 kB / 0.8502 GB, free: 9.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001218/0.3215, allocations: 0.6539 MB / 0.8508 GB, free: 8.402 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3216, allocations: 8 kB / 0.8509 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3216, allocations: 0 / 0.8509 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.3216, allocations: 12.25 kB / 0.8509 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.3223, allocations: 143.8 kB / 0.851 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3223, allocations: 7.938 kB / 0.851 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.3227, allocations: 67.41 kB / 0.8511 GB, free: 8.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.3228, allocations: 24 kB / 0.8511 GB, free: 8.145 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006036/0.3234, allocations: 357.3 kB / 0.8514 GB, free: 7.793 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004585/0.3239, allocations: 296.4 kB / 0.8517 GB, free: 7.469 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008655/0.3247, allocations: 495.7 kB / 0.8522 GB, free: 6.957 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.3247, allocations: 0 / 0.8522 GB, free: 6.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001076/0.3258, allocations: 0.6268 MB / 0.8528 GB, free: 6.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3258, allocations: 6.812 kB / 0.8528 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3259, allocations: 4 kB / 0.8528 GB, free: 6.312 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/0.3259, allocations: 4 kB / 0.8528 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.3265, allocations: 143.7 kB / 0.853 GB, free: 6.168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3265, allocations: 7.984 kB / 0.853 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.3269, allocations: 63.64 kB / 0.853 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.3269, allocations: 24 kB / 0.853 GB, free: 6.074 MB / 0.67 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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.0001858/0.3271, allocations: 216.1 kB / 0.8533 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3272, allocations: 94.78 kB / 0.8533 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.3275, allocations: 101.3 kB / 0.8534 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3275, allocations: 8 kB / 0.8534 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3275, allocations: 3.938 kB / 0.8534 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3275, allocations: 3.984 kB / 0.8535 GB, free: 5.648 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.3297, allocations: 1.443 MB / 0.8549 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3297, allocations: 0 / 0.8549 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.3303, allocations: 111.8 kB / 0.855 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3303, allocations: 4 kB / 0.855 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.3303, allocations: 15.98 kB / 0.855 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3303, allocations: 4 kB / 0.855 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3303, allocations: 0 / 0.855 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.332, allocations: 0.9634 MB / 0.8559 GB, free: 3.035 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3323, allocations: 219.7 kB / 0.8561 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.3324, allocations: 15.98 kB / 0.8562 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.3328, allocations: 31.97 kB / 0.8562 GB, free: 2.754 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.3329, allocations: 36.52 kB / 0.8562 GB, free: 2.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.3329, allocations: 23.98 kB / 0.8562 GB, free: 2.695 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006006/0.3335, allocations: 0.5187 MB / 0.8568 GB, free: 2.164 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3335, allocations: 0 / 0.8568 GB, free: 2.164 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006924/0.3342, allocations: 271 kB / 0.857 GB, free: 1.898 MB / 0.67 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.0001498/0.3344, allocations: 119.2 kB / 0.8571 GB, free: 1.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.336, allocations: 0.7963 MB / 0.8579 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.336, allocations: 0 / 0.8579 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.3365, allocations: 271.1 kB / 0.8582 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3376, allocations: 269.9 kB / 0.8584 GB, free: 476 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.3403, allocations: 1.559 MB / 0.8599 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.341, allocations: 0.9938 MB / 0.8609 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000592/0.3416, allocations: 118.7 kB / 0.861 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.3419, allocations: 63.42 kB / 0.8611 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/0.3419, allocations: 0 / 0.8611 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of Templates: time 0.02/0.3619, allocations: 9.402 MB / 0.8703 GB, free: 4.367 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)