Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_10_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.001252/0.001252, allocations: 108.3 kB / 16.41 MB, free: 6.016 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.001244/0.001244, allocations: 180.9 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.274/2.274, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8438, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004874/0.8487, allocations: 4.334 MB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.8513, allocations: 1.593 MB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.8517, allocations: 31.88 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.852, allocations: 166.2 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005625/0.8526, allocations: 242.5 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.8537, allocations: 0.6701 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.8547, allocations: 1.222 MB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.8554, allocations: 0.4962 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.8559, allocations: 481.8 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.8563, allocations: 461.4 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.8564, allocations: 100 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.8565, allocations: 104 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.8567, allocations: 231.1 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.857, allocations: 0.4892 MB / 1.178 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.858, allocations: 1.163 MB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.858, allocations: 7.938 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.858, allocations: 0 / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.858, allocations: 0 / 1.179 GB, free: 8.078 MB / 0.9044 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.002121/0.8601, allocations: 1.429 MB / 1.18 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8602, allocations: 12.88 kB / 1.18 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.8604, allocations: 128.1 kB / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.8615, allocations: 0.7673 MB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.8616, allocations: 84.25 kB / 1.181 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8617, allocations: 76.31 kB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.8628, allocations: 0.729 MB / 1.182 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.8628, allocations: 0 / 1.182 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.8629, allocations: 35.97 kB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.8629, allocations: 16 kB / 1.182 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.8639, allocations: 0.5126 MB / 1.182 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.8668, allocations: 2.256 MB / 1.185 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.868, allocations: 0.6185 MB / 1.185 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.8685, allocations: 274.4 kB / 1.186 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.8686, allocations: 12.55 kB / 1.186 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.8691, allocations: 319 kB / 1.186 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.054e-06/0.8692, allocations: 0 / 1.186 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.00143/0.8706, allocations: 0.7601 MB / 1.187 GB, free: 15.83 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.8707, allocations: 81.67 kB / 1.187 GB, free: 15.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.8714, allocations: 0.7633 MB / 1.187 GB, free: 14.96 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.8715, allocations: 45.7 kB / 1.187 GB, free: 14.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.8718, allocations: 441 kB / 1.188 GB, free: 14.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.8719, allocations: 210.2 kB / 1.188 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8721, allocations: 110.3 kB / 1.188 GB, free: 14.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8722, allocations: 333.9 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.8726, allocations: 215.4 kB / 1.189 GB, free: 13.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.8731, allocations: 300.5 kB / 1.189 GB, free: 13.29 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.8739, allocations: 0.4996 MB / 1.189 GB, free: 12.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8739, allocations: 0 / 1.189 GB, free: 12.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001083/0.875, allocations: 0.6661 MB / 1.19 GB, free: 12.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.875, allocations: 10.66 kB / 1.19 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.8751, allocations: 0 / 1.19 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8751, allocations: 4 kB / 1.19 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.8757, allocations: 152 kB / 1.19 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.8757, allocations: 7.938 kB / 1.19 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.8761, allocations: 75.53 kB / 1.19 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.8761, allocations: 20 kB / 1.19 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005323/0.8767, allocations: 355.5 kB / 1.191 GB, free: 11.47 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004224/0.8771, allocations: 292.4 kB / 1.191 GB, free: 11.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007767/0.8779, allocations: 499.7 kB / 1.191 GB, free: 10.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.8779, allocations: 0 / 1.191 GB, free: 10.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001006/0.8789, allocations: 0.635 MB / 1.192 GB, free: 9.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.8789, allocations: 4.25 kB / 1.192 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8789, allocations: 8 kB / 1.192 GB, free: 9.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.879, allocations: 4 kB / 1.192 GB, free: 9.977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.8795, allocations: 143.8 kB / 1.192 GB, free: 9.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8795, allocations: 11.92 kB / 1.192 GB, free: 9.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.8799, allocations: 51.66 kB / 1.192 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.8799, allocations: 20 kB / 1.192 GB, free: 9.754 MB / 0.92 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.0001647/0.8801, allocations: 224.1 kB / 1.193 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.8802, allocations: 103.3 kB / 1.193 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.8804, allocations: 101.2 kB / 1.193 GB, free: 9.328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8804, allocations: 4 kB / 1.193 GB, free: 9.324 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.8804, allocations: 7.938 kB / 1.193 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.8804, allocations: 7.922 kB / 1.193 GB, free: 9.309 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.8823, allocations: 1.443 MB / 1.194 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8823, allocations: 0 / 1.194 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.8828, allocations: 103.8 kB / 1.194 GB, free: 7.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.8829, allocations: 4 kB / 1.194 GB, free: 7.703 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.8829, allocations: 12 kB / 1.194 GB, free: 7.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.8829, allocations: 0 / 1.194 GB, free: 7.691 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8829, allocations: 7.984 kB / 1.194 GB, free: 7.684 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.8844, allocations: 0.9717 MB / 1.195 GB, free: 6.695 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.8846, allocations: 228.2 kB / 1.195 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.8847, allocations: 8 kB / 1.195 GB, free: 6.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.8851, allocations: 35.95 kB / 1.195 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.8852, allocations: 32.52 kB / 1.196 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.8852, allocations: 19.98 kB / 1.196 GB, free: 6.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005392/0.8858, allocations: 0.5185 MB / 1.196 GB, free: 5.844 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8858, allocations: 4 kB / 1.196 GB, free: 5.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006354/0.8864, allocations: 279.3 kB / 1.196 GB, free: 5.566 MB / 0.92 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.0001192/0.8866, allocations: 115.3 kB / 1.196 GB, free: 5.441 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.888, allocations: 0.7996 MB / 1.197 GB, free: 4.641 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.888, allocations: 0 / 1.197 GB, free: 4.641 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.8884, allocations: 263.7 kB / 1.197 GB, free: 4.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.8894, allocations: 269.6 kB / 1.198 GB, free: 4.133 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.8916, allocations: 1.614 MB / 1.199 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.8921, allocations: 0.9937 MB / 1.2 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.8923, allocations: 67.42 kB / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.8923, allocations: 0 / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of Templates: time 0.0136/0.9059, allocations: 11.02 MB / 1.211 GB, free: 6.434 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches