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.001373/0.001379, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001364/0.001364, allocations: 183 kB / 17.34 MB, free: 5.766 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 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.49/2.49, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7487, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005074/0.7538, allocations: 4.338 MB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.7567, allocations: 1.586 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.7571, allocations: 31.81 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.7575, allocations: 166.2 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006129/0.7582, allocations: 239.8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.7594, allocations: 0.6698 MB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.7606, allocations: 1.226 MB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.7613, allocations: 0.4962 MB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.7619, allocations: 469.9 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.7623, allocations: 469.4 kB / 1.177 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.7624, allocations: 100 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.7626, allocations: 104 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.7627, allocations: 235.1 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.7631, allocations: 497 kB / 1.178 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009573/0.7641, allocations: 1.157 MB / 1.179 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7641, allocations: 0 / 1.179 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7641, allocations: 0 / 1.179 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.7641, allocations: 0 / 1.179 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.00228/0.7664, allocations: 1.403 MB / 1.18 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7664, allocations: 12.58 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.7666, allocations: 119.5 kB / 1.18 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.7679, allocations: 0.7665 MB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/0.768, allocations: 76.27 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.7681, allocations: 80.3 kB / 1.181 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.7693, allocations: 0.7329 MB / 1.182 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.7693, allocations: 0 / 1.182 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.7694, allocations: 32 kB / 1.182 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.7694, allocations: 20 kB / 1.182 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.7705, allocations: 0.5126 MB / 1.182 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.7737, allocations: 2.255 MB / 1.185 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.7751, allocations: 0.6092 MB / 1.185 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.7756, allocations: 278.4 kB / 1.185 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.7757, allocations: 8.562 kB / 1.185 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/0.7763, allocations: 319.1 kB / 1.186 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.185e-06/0.7763, allocations: 0 / 1.186 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.00158/0.7779, allocations: 0.744 MB / 1.186 GB, free: 15.86 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.778, allocations: 89.67 kB / 1.187 GB, free: 15.76 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/0.7788, allocations: 0.7672 MB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.7789, allocations: 41.64 kB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.7792, allocations: 436.5 kB / 1.188 GB, free: 14.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.7794, allocations: 208.9 kB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.7795, allocations: 114.2 kB / 1.188 GB, free: 14.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7797, allocations: 326 kB / 1.188 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.7801, allocations: 211.4 kB / 1.189 GB, free: 13.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.7806, allocations: 304.4 kB / 1.189 GB, free: 13.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/0.7816, allocations: 0.5036 MB / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7816, allocations: 0 / 1.189 GB, free: 12.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001199/0.7828, allocations: 0.6539 MB / 1.19 GB, free: 12.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7828, allocations: 8 kB / 1.19 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7828, allocations: 0 / 1.19 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7829, allocations: 8.25 kB / 1.19 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.7836, allocations: 151.8 kB / 1.19 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.7836, allocations: 11.92 kB / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.784, allocations: 71.39 kB / 1.19 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.7841, allocations: 27.98 kB / 1.19 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000589/0.7847, allocations: 347.6 kB / 1.191 GB, free: 11.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004691/0.7851, allocations: 300.4 kB / 1.191 GB, free: 11.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008562/0.786, allocations: 495.7 kB / 1.191 GB, free: 10.67 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.786, allocations: 0 / 1.191 GB, free: 10.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001103/0.7871, allocations: 0.6345 MB / 1.192 GB, free: 10.03 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.7872, allocations: 4 kB / 1.192 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7872, allocations: 4 kB / 1.192 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/0.7872, allocations: 7.938 kB / 1.192 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.7878, allocations: 139.8 kB / 1.192 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.7878, allocations: 4 kB / 1.192 GB, free: 9.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.7882, allocations: 59.69 kB / 1.192 GB, free: 9.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.7883, allocations: 27.94 kB / 1.192 GB, free: 9.785 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.0001661/0.7884, allocations: 218.7 kB / 1.192 GB, free: 9.566 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.7885, allocations: 102.7 kB / 1.193 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.7887, allocations: 105.2 kB / 1.193 GB, free: 9.363 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7888, allocations: 4 kB / 1.193 GB, free: 9.359 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7888, allocations: 3.938 kB / 1.193 GB, free: 9.355 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.7888, allocations: 0 / 1.193 GB, free: 9.355 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.7909, allocations: 1.431 MB / 1.194 GB, free: 7.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7909, allocations: 4 kB / 1.194 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.7915, allocations: 107.8 kB / 1.194 GB, free: 7.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7915, allocations: 8 kB / 1.194 GB, free: 7.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.7915, allocations: 12 kB / 1.194 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7915, allocations: 0 / 1.194 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7915, allocations: 0 / 1.194 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.7931, allocations: 0.9673 MB / 1.195 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.7934, allocations: 223.7 kB / 1.195 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-05/0.7935, allocations: 8 kB / 1.195 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.794, allocations: 31.97 kB / 1.195 GB, free: 6.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.794, allocations: 40.44 kB / 1.195 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.7941, allocations: 23.98 kB / 1.195 GB, free: 6.414 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005751/0.7947, allocations: 0.5146 MB / 1.196 GB, free: 5.902 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7947, allocations: 0 / 1.196 GB, free: 5.902 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006851/0.7954, allocations: 279 kB / 1.196 GB, free: 5.629 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.0001272/0.7955, allocations: 111.2 kB / 1.196 GB, free: 5.508 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.797, allocations: 0.7924 MB / 1.197 GB, free: 4.715 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7971, allocations: 0 / 1.197 GB, free: 4.715 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.7975, allocations: 271.1 kB / 1.197 GB, free: 4.453 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.7987, allocations: 275.9 kB / 1.198 GB, free: 4.195 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.8012, allocations: 1.585 MB / 1.199 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.8016, allocations: 0.9937 MB / 1.2 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.8019, allocations: 67.42 kB / 1.2 GB, free: 1.488 MB / 0.92 GB Notification: Performance of SimCode: time 3.5e-07/0.8019, allocations: 0 / 1.2 GB, free: 1.488 MB / 0.92 GB Notification: Performance of Templates: time 0.01469/0.8166, allocations: 11.02 MB / 1.211 GB, free: 6.535 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