Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01219/0.01219, allocations: 102 kB / 15.73 MB, free: 6.02 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.001922/0.001922, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.88 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9287/0.9299, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005344/0.9353, allocations: 4.348 MB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.9383, allocations: 1.589 MB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.9388, allocations: 35.81 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.9392, allocations: 166.2 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.9399, allocations: 238.1 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.9413, allocations: 0.6685 MB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.9425, allocations: 1.222 MB / 1.229 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.9432, allocations: 344.3 kB / 1.229 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006115/0.9438, allocations: 469.9 kB / 1.229 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.9443, allocations: 469.4 kB / 1.23 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.9444, allocations: 100 kB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.9445, allocations: 104 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.9447, allocations: 231 kB / 1.23 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.9452, allocations: 497 kB / 1.231 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.9464, allocations: 1.171 MB / 1.232 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9464, allocations: 0 / 1.232 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9464, allocations: 0 / 1.232 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.9464, allocations: 0 / 1.232 GB, free: 6.488 MB / 0.9512 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.002286/0.9487, allocations: 1.433 MB / 1.233 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9488, allocations: 12.03 kB / 1.233 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.949, allocations: 132.1 kB / 1.233 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.9503, allocations: 0.7673 MB / 1.234 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.9504, allocations: 80.27 kB / 1.234 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.9505, allocations: 76.33 kB / 1.234 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.9517, allocations: 0.7368 MB / 1.235 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.9517, allocations: 3.984 kB / 1.235 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.9518, allocations: 28 kB / 1.235 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.9518, allocations: 16 kB / 1.235 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.9529, allocations: 0.5204 MB / 1.236 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.9562, allocations: 2.248 MB / 1.238 GB, free: 236 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.9576, allocations: 0.592 MB / 1.238 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.9581, allocations: 254.4 kB / 1.239 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.278e-05/0.9581, allocations: 12.56 kB / 1.239 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006463/0.9588, allocations: 315.1 kB / 1.239 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=60): time 3.607e-06/0.9588, allocations: 0 / 1.239 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=60): time 0.001613/0.9604, allocations: 0.764 MB / 1.24 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.9605, allocations: 81.67 kB / 1.24 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.9613, allocations: 0.7672 MB / 1.24 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.9613, allocations: 37.7 kB / 1.241 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.9617, allocations: 441 kB / 1.241 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.9618, allocations: 218.1 kB / 1.241 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.962, allocations: 114.3 kB / 1.241 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9621, allocations: 330 kB / 1.242 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.9626, allocations: 207.4 kB / 1.242 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.9631, allocations: 312.4 kB / 1.242 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.964, allocations: 0.5036 MB / 1.243 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.964, allocations: 4 kB / 1.243 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001181/0.9652, allocations: 0.6546 MB / 1.243 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9652, allocations: 8 kB / 1.243 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9652, allocations: 0 / 1.243 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9652, allocations: 8 kB / 1.243 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.9659, allocations: 139.8 kB / 1.243 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.9659, allocations: 15.86 kB / 1.243 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.9663, allocations: 71.48 kB / 1.243 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.9664, allocations: 28.08 kB / 1.243 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000602/0.967, allocations: 353.4 kB / 1.244 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004787/0.9675, allocations: 292.5 kB / 1.244 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008407/0.9683, allocations: 491.7 kB / 1.245 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.9683, allocations: 0 / 1.245 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001098/0.9694, allocations: 0.6466 MB / 1.245 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.9694, allocations: 4 kB / 1.245 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.9694, allocations: 4 kB / 1.245 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.9694, allocations: 4 kB / 1.245 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.97, allocations: 140 kB / 1.245 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.97, allocations: 8 kB / 1.245 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.9704, allocations: 59.64 kB / 1.245 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.9705, allocations: 20 kB / 1.245 GB, free: 8.184 MB / 0.9669 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.0002156/0.9707, allocations: 218.6 kB / 1.246 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.9708, allocations: 99.34 kB / 1.246 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.971, allocations: 105.2 kB / 1.246 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.971, allocations: 8 kB / 1.246 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.971, allocations: 11.86 kB / 1.246 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.971, allocations: 4 kB / 1.246 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.9732, allocations: 1.439 MB / 1.247 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9732, allocations: 4 kB / 1.247 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.9737, allocations: 103.8 kB / 1.247 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.9737, allocations: 4 kB / 1.247 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.9738, allocations: 12 kB / 1.247 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9738, allocations: 0 / 1.247 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9738, allocations: 4 kB / 1.247 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.9754, allocations: 0.9639 MB / 1.248 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.9757, allocations: 232.2 kB / 1.249 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/0.9758, allocations: 12 kB / 1.249 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.9762, allocations: 31.97 kB / 1.249 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.9763, allocations: 40.5 kB / 1.249 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.9763, allocations: 16 kB / 1.249 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006247/0.9769, allocations: 0.5146 MB / 1.249 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9769, allocations: 0 / 1.249 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006938/0.9776, allocations: 279.3 kB / 1.249 GB, free: 4.012 MB / 0.9669 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.00015/0.9778, allocations: 123.1 kB / 1.25 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.9793, allocations: 0.7455 MB / 1.25 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9793, allocations: 0 / 1.25 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.9798, allocations: 251.1 kB / 1.25 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.9809, allocations: 274 kB / 1.251 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.9834, allocations: 1.581 MB / 1.252 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.9839, allocations: 0.9937 MB / 1.253 GB, free: 4 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004407/0.9843, allocations: 114.7 kB / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.9845, allocations: 63.42 kB / 1.253 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of SimCode: time 1.072e-06/0.9845, allocations: 4 kB / 1.253 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.01668/1.001, allocations: 9.4 MB / 1.263 GB, free: 6.523 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches