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: 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 252 MB / 267.6 MB, free: 10.91 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.001121/0.001121, allocations: 188.8 kB / 327.3 MB, free: 2.203 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.78/1.78, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0009678/0.0009676, allocations: 90.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003575, allocations: 7.594 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2432, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003756/0.2471, allocations: 3.688 MB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.2499, allocations: 1.555 MB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005518/0.2505, allocations: 31.81 kB / 0.906 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.2509, allocations: 118.8 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.2514, allocations: 178.7 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2525, allocations: 0.5182 MB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008189/0.2533, allocations: 1.05 MB / 0.9078 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.2538, allocations: 347.4 kB / 0.9081 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.2541, allocations: 342 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.2545, allocations: 333.8 kB / 0.9088 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.578e-05/0.2545, allocations: 24 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.2546, allocations: 28 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.2547, allocations: 135.2 kB / 0.9089 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.2548, allocations: 173.1 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2553, allocations: 0.8185 MB / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2553, allocations: 0 / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2554, allocations: 0 / 0.9099 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2554, allocations: 0 / 0.9099 GB, free: 54.55 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.002076/0.2575, allocations: 1.251 MB / 0.9111 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.2575, allocations: 8.031 kB / 0.9111 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.2577, allocations: 122.5 kB / 0.9113 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.2587, allocations: 0.7074 MB / 0.9119 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-05/0.2588, allocations: 79.7 kB / 0.912 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.2589, allocations: 75.94 kB / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.26, allocations: 0.7289 MB / 0.9128 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2601, allocations: 0 / 0.9128 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.2601, allocations: 32 kB / 0.9128 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.2602, allocations: 16 kB / 0.9128 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009713/0.2611, allocations: 0.5282 MB / 0.9134 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.2639, allocations: 2.298 MB / 0.9156 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.2652, allocations: 0.6271 MB / 0.9162 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.2657, allocations: 286.4 kB / 0.9165 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.2658, allocations: 4.562 kB / 0.9165 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006293/0.2664, allocations: 327.1 kB / 0.9168 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 3.376e-06/0.2664, allocations: 0 / 0.9168 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001443/0.2679, allocations: 0.7675 MB / 0.9176 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.2679, allocations: 85.67 kB / 0.9176 GB, free: 46.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.2686, allocations: 0.7521 MB / 0.9184 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.2687, allocations: 37.7 kB / 0.9184 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.2689, allocations: 448.5 kB / 0.9188 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.269, allocations: 208.9 kB / 0.919 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.2691, allocations: 12 kB / 0.919 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.2691, allocations: 330 kB / 0.9194 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.2696, allocations: 201.2 kB / 0.9196 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.27, allocations: 312.4 kB / 0.9199 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.2705, allocations: 238.2 kB / 0.9201 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2705, allocations: 0 / 0.9201 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001037/0.2715, allocations: 0.6617 MB / 0.9207 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.2716, allocations: 155.1 kB / 0.9209 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2716, allocations: 4 kB / 0.9209 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2716, allocations: 4 kB / 0.9209 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.2723, allocations: 159.7 kB / 0.921 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2723, allocations: 8 kB / 0.921 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.2727, allocations: 71.34 kB / 0.9211 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.2727, allocations: 20 kB / 0.9211 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.2727, allocations: 4 kB / 0.9211 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008729/0.2736, allocations: 0.5206 MB / 0.9216 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2736, allocations: 8 kB / 0.9217 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.2737, allocations: 4.25 kB / 0.9217 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.2742, allocations: 147.8 kB / 0.9218 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2742, allocations: 7.984 kB / 0.9218 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.2746, allocations: 63.42 kB / 0.9219 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2746, allocations: 20 kB / 0.9219 GB, free: 41.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.275, allocations: 304.6 kB / 0.9222 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.2751, allocations: 94.78 kB / 0.9223 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.2752, allocations: 109.3 kB / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2752, allocations: 4 kB / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2752, allocations: 0 / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2753, allocations: 3.984 kB / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.2771, allocations: 1.45 MB / 0.9238 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2771, allocations: 0 / 0.9238 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.2777, allocations: 107.9 kB / 0.9239 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2777, allocations: 7.938 kB / 0.9239 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.2777, allocations: 19.92 kB / 0.9239 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2777, allocations: 0 / 0.9239 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2777, allocations: 0 / 0.9239 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.2792, allocations: 0.9785 MB / 0.9249 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.2794, allocations: 227.7 kB / 0.9251 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.2795, allocations: 8 kB / 0.9251 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.2799, allocations: 44 kB / 0.9251 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.28, allocations: 40.5 kB / 0.9252 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.28, allocations: 19.98 kB / 0.9252 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000502/0.2805, allocations: 0.5109 MB / 0.9257 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2805, allocations: 0 / 0.9257 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000613/0.2811, allocations: 275 kB / 0.926 GB, free: 37.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.2813, allocations: 119.1 kB / 0.9261 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.2827, allocations: 0.7999 MB / 0.9269 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2827, allocations: 4.062 kB / 0.9269 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.2831, allocations: 275.5 kB / 0.9271 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.2842, allocations: 252.3 kB / 0.9274 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.2865, allocations: 1.868 MB / 0.9292 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2868, allocations: 0.9901 MB / 0.9302 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2871, allocations: 75.36 kB / 0.9302 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2871, allocations: 0 / 0.9302 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.01296/0.3, allocations: 10.84 MB / 0.9408 GB, free: 22.39 MB / 0.6042 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)