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.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001326/0.001326, allocations: 195.7 kB / 16.14 MB, free: 6.738 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.623/1.623, allocations: 205.1 MB / 222 MB, free: 4.996 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.6 MB / 0.5088 GB, free: 3.297 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.001303/0.001303, allocations: 67.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6685, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005381/0.6739, allocations: 4.345 MB / 0.728 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.6775, allocations: 1.594 MB / 0.7296 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.6783, allocations: 35.81 kB / 0.7296 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.6788, allocations: 122.8 kB / 0.7297 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.6795, allocations: 186.8 kB / 0.7299 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.681, allocations: 0.6176 MB / 0.7305 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.6822, allocations: 1.144 MB / 0.7316 GB, free: 5.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.6829, allocations: 490.1 kB / 0.7321 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.6834, allocations: 417.7 kB / 0.7325 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.6839, allocations: 425.4 kB / 0.7329 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.684, allocations: 48 kB / 0.733 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.592e-05/0.6841, allocations: 48 kB / 0.733 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.6843, allocations: 179.1 kB / 0.7332 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.6846, allocations: 441 kB / 0.7336 GB, free: 3.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009084/0.6856, allocations: 1.055 MB / 0.7346 GB, free: 1.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6856, allocations: 0 / 0.7346 GB, free: 1.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6856, allocations: 0 / 0.7346 GB, free: 1.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.6856, allocations: 4 kB / 0.7346 GB, free: 1.98 MB / 0.545 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.00248/0.6881, allocations: 1.41 MB / 0.736 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6882, allocations: 8.031 kB / 0.736 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.6883, allocations: 119.5 kB / 0.7361 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.6895, allocations: 0.7314 MB / 0.7368 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.361e-05/0.6896, allocations: 84.27 kB / 0.7369 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.6897, allocations: 68.31 kB / 0.737 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6909, allocations: 0.7368 MB / 0.7377 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6909, allocations: 4 kB / 0.7377 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.691, allocations: 31.98 kB / 0.7377 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.691, allocations: 16 kB / 0.7378 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.692, allocations: 0.5126 MB / 0.7383 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.6952, allocations: 2.286 MB / 0.7405 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.6965, allocations: 0.6193 MB / 0.7411 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.697, allocations: 270.5 kB / 0.7414 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.6971, allocations: 8.547 kB / 0.7414 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006394/0.6977, allocations: 327 kB / 0.7417 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 3.536e-06/0.6978, allocations: 0 / 0.7417 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001529/0.6993, allocations: 0.7593 MB / 0.7424 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.6994, allocations: 89.67 kB / 0.7425 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008365/0.7002, allocations: 0.7558 MB / 0.7432 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.7003, allocations: 41.69 kB / 0.7433 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.7006, allocations: 444.4 kB / 0.7437 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.7008, allocations: 201.1 kB / 0.7439 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.7009, allocations: 114.2 kB / 0.744 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.701, allocations: 330 kB / 0.7443 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.7015, allocations: 207.4 kB / 0.7445 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.702, allocations: 304.5 kB / 0.7448 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.7029, allocations: 0.5036 MB / 0.7453 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7029, allocations: 0 / 0.7453 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001149/0.704, allocations: 0.6617 MB / 0.7459 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7041, allocations: 8 kB / 0.746 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7041, allocations: 0 / 0.746 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.7041, allocations: 8 kB / 0.746 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.7047, allocations: 139.8 kB / 0.7461 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.7048, allocations: 7.938 kB / 0.7461 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.7052, allocations: 79.53 kB / 0.7462 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.7052, allocations: 23.98 kB / 0.7462 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005922/0.7058, allocations: 349.4 kB / 0.7465 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004312/0.7063, allocations: 300.4 kB / 0.7468 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007966/0.7071, allocations: 491.7 kB / 0.7473 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.7071, allocations: 0 / 0.7473 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001033/0.7081, allocations: 0.6305 MB / 0.7479 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7081, allocations: 4 kB / 0.7479 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.7082, allocations: 4 kB / 0.7479 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.7082, allocations: 4.094 kB / 0.7479 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.7087, allocations: 152 kB / 0.7481 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7088, allocations: 7.938 kB / 0.7481 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.7092, allocations: 63.52 kB / 0.7481 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.7092, allocations: 16 kB / 0.7481 GB, free: 3.688 MB / 0.5606 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.0002158/0.7094, allocations: 220.1 kB / 0.7484 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.7095, allocations: 94.78 kB / 0.7484 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.7097, allocations: 105.3 kB / 0.7485 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.7098, allocations: 4 kB / 0.7485 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7098, allocations: 7.938 kB / 0.7486 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.7098, allocations: 3.984 kB / 0.7486 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.7118, allocations: 1.438 MB / 0.75 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7118, allocations: 3.938 kB / 0.75 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.7124, allocations: 107.8 kB / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7124, allocations: 0 / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.7125, allocations: 16 kB / 0.7501 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.7125, allocations: 8 kB / 0.7501 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7125, allocations: 0 / 0.7501 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.7141, allocations: 0.9586 MB / 0.751 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.7143, allocations: 223.8 kB / 0.7512 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.7144, allocations: 16 kB / 0.7513 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.7148, allocations: 31.97 kB / 0.7513 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.7149, allocations: 36.5 kB / 0.7513 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.715, allocations: 16 kB / 0.7513 GB, free: 316 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006382/0.7156, allocations: 0.5226 MB / 0.7519 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7156, allocations: 0 / 0.7519 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007008/0.7163, allocations: 279 kB / 0.7521 GB, free: 15.5 MB / 0.5762 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.0001623/0.7165, allocations: 115.2 kB / 0.7522 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.718, allocations: 0.7881 MB / 0.753 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.718, allocations: 4 kB / 0.753 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.7185, allocations: 267.1 kB / 0.7533 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.7197, allocations: 254.6 kB / 0.7535 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.7224, allocations: 1.909 MB / 0.7554 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.7229, allocations: 0.9901 MB / 0.7563 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004744/0.7234, allocations: 122.7 kB / 0.7564 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.7236, allocations: 55.44 kB / 0.7565 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7236, allocations: 0 / 0.7565 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.01494/0.7385, allocations: 8.776 MB / 0.7651 GB, free: 2.27 MB / 0.5762 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)