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.009582/0.009583, allocations: 100.8 kB / 15.73 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.001625/0.001625, allocations: 186.3 kB / 16.67 MB, free: 5.938 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.609/2.609, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.36 kB / 1.018 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8437/0.8449, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005644/0.8506, allocations: 4.343 MB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.8542, allocations: 1.585 MB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.8548, allocations: 35.81 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.8552, allocations: 166.2 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.8559, allocations: 223.8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.8573, allocations: 0.6695 MB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.8588, allocations: 1.226 MB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007868/0.8596, allocations: 0.4923 MB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.8602, allocations: 457.9 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.8608, allocations: 465.4 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.8609, allocations: 108 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.8611, allocations: 100 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.8613, allocations: 235 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.8617, allocations: 497 kB / 1.177 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.8629, allocations: 1.163 MB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8629, allocations: 3.984 kB / 1.178 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8629, allocations: 0 / 1.178 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.863, allocations: 0 / 1.178 GB, free: 8.055 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.002573/0.8655, allocations: 1.429 MB / 1.179 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8656, allocations: 16.88 kB / 1.179 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.8658, allocations: 124.1 kB / 1.18 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.8671, allocations: 0.7712 MB / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.8672, allocations: 88.25 kB / 1.18 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.8673, allocations: 64.38 kB / 1.18 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.8686, allocations: 0.7329 MB / 1.181 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.8686, allocations: 4 kB / 1.181 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.8687, allocations: 31.98 kB / 1.181 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.8687, allocations: 16 kB / 1.181 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.8698, allocations: 0.5204 MB / 1.182 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.873, allocations: 2.248 MB / 1.184 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.8744, allocations: 0.6224 MB / 1.185 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.875, allocations: 277.3 kB / 1.185 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.875, allocations: 8.547 kB / 1.185 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006523/0.8757, allocations: 327 kB / 1.185 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/0.8757, allocations: 0 / 1.185 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.001654/0.8774, allocations: 0.7562 MB / 1.186 GB, free: 15.81 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.8774, allocations: 81.67 kB / 1.186 GB, free: 15.71 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.8785, allocations: 0.7672 MB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.8786, allocations: 37.7 kB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.879, allocations: 441 kB / 1.187 GB, free: 14.46 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.8792, allocations: 214.1 kB / 1.187 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.8795, allocations: 114.3 kB / 1.187 GB, free: 14.13 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8796, allocations: 326 kB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.8801, allocations: 215.4 kB / 1.188 GB, free: 13.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.8807, allocations: 308.4 kB / 1.188 GB, free: 13.26 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8817, allocations: 0.5036 MB / 1.189 GB, free: 12.72 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8817, allocations: 4 kB / 1.189 GB, free: 12.72 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001433/0.8832, allocations: 0.6506 MB / 1.189 GB, free: 12.06 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.8832, allocations: 8.25 kB / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8832, allocations: 8 kB / 1.189 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.8833, allocations: 4 kB / 1.189 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.884, allocations: 143.8 kB / 1.19 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.884, allocations: 11.88 kB / 1.19 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.8845, allocations: 75.53 kB / 1.19 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.8845, allocations: 20 kB / 1.19 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00065/0.8852, allocations: 361.4 kB / 1.19 GB, free: 11.44 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004748/0.8857, allocations: 284.5 kB / 1.19 GB, free: 11.13 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008913/0.8866, allocations: 491.7 kB / 1.191 GB, free: 10.62 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.8866, allocations: 4 kB / 1.191 GB, free: 10.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001182/0.8878, allocations: 0.6428 MB / 1.191 GB, free: 9.965 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.8878, allocations: 4 kB / 1.191 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8878, allocations: 4 kB / 1.191 GB, free: 9.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.8878, allocations: 4 kB / 1.191 GB, free: 9.953 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.8884, allocations: 139.8 kB / 1.191 GB, free: 9.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.8884, allocations: 4 kB / 1.191 GB, free: 9.812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.8889, allocations: 71.8 kB / 1.192 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.8889, allocations: 24 kB / 1.192 GB, free: 9.719 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.0002107/0.8891, allocations: 216.1 kB / 1.192 GB, free: 9.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.8893, allocations: 103.3 kB / 1.192 GB, free: 9.398 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.8895, allocations: 101.2 kB / 1.192 GB, free: 9.301 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.8895, allocations: 4 kB / 1.192 GB, free: 9.297 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.8895, allocations: 7.938 kB / 1.192 GB, free: 9.289 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.8895, allocations: 7.984 kB / 1.192 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.8918, allocations: 1.435 MB / 1.193 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8918, allocations: 0 / 1.193 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.8923, allocations: 107.8 kB / 1.194 GB, free: 7.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.8923, allocations: 4 kB / 1.194 GB, free: 7.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.8924, allocations: 12 kB / 1.194 GB, free: 7.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8924, allocations: 4 kB / 1.194 GB, free: 7.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8924, allocations: 0 / 1.194 GB, free: 7.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8941, allocations: 0.9756 MB / 1.194 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.8944, allocations: 224.2 kB / 1.195 GB, free: 6.434 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.8945, allocations: 15.94 kB / 1.195 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.8949, allocations: 39.95 kB / 1.195 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.895, allocations: 36.52 kB / 1.195 GB, free: 6.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.8951, allocations: 19.98 kB / 1.195 GB, free: 6.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006212/0.8957, allocations: 0.5146 MB / 1.195 GB, free: 5.812 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8957, allocations: 0 / 1.195 GB, free: 5.812 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007547/0.8965, allocations: 275.3 kB / 1.196 GB, free: 5.543 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.0001342/0.8966, allocations: 115.1 kB / 1.196 GB, free: 5.418 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.8983, allocations: 0.7963 MB / 1.196 GB, free: 4.621 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8983, allocations: 4.125 kB / 1.196 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.8988, allocations: 267.1 kB / 1.197 GB, free: 4.359 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.9, allocations: 270.2 kB / 1.197 GB, free: 4.109 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.9025, allocations: 1.57 MB / 1.199 GB, free: 2.508 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.9031, allocations: 0.9937 MB / 1.199 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004915/0.9036, allocations: 114.7 kB / 1.2 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.9038, allocations: 71.36 kB / 1.2 GB, free: 1.301 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/0.9038, allocations: 0 / 1.2 GB, free: 1.301 MB / 0.92 GB Notification: Performance of Templates: time 0.01721/0.921, allocations: 9.377 MB / 1.209 GB, free: 8.023 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches