Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001098/0.001098, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.01021/0.01021, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.568/1.568, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.9 MB / 0.6663 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6944/0.6949, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004133/0.699, allocations: 3.901 MB / 0.9588 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.7022, allocations: 1.519 MB / 0.9603 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.7031, allocations: 34.06 kB / 0.9604 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.7036, allocations: 121.3 kB / 0.9605 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.7046, allocations: 186 kB / 0.9606 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.706, allocations: 0.6143 MB / 0.9612 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.7075, allocations: 1.134 MB / 0.9624 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008518/0.7084, allocations: 490.6 kB / 0.9628 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.7091, allocations: 348.5 kB / 0.9632 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.7097, allocations: 353.4 kB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.7099, allocations: 26 kB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.71, allocations: 26.72 kB / 0.9635 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.7102, allocations: 143.6 kB / 0.9637 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.7107, allocations: 415.7 kB / 0.9641 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.7117, allocations: 1.014 MB / 0.9651 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.7117, allocations: 1 kB / 0.9651 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7117, allocations: 3.938 kB / 0.9651 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.992e-05/0.7118, allocations: 4 kB / 0.9651 GB, free: 15.89 MB / 0.7325 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.002983/0.7147, allocations: 1.233 MB / 0.9663 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.7148, allocations: 9.531 kB / 0.9663 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.7152, allocations: 123 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.7168, allocations: 0.7323 MB / 0.9671 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.7169, allocations: 79.14 kB / 0.9672 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.7171, allocations: 77.41 kB / 0.9673 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.7188, allocations: 0.7408 MB / 0.968 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.7188, allocations: 1 kB / 0.968 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.7189, allocations: 31.16 kB / 0.968 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.7189, allocations: 16.25 kB / 0.968 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.7203, allocations: 0.53 MB / 0.9686 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.7246, allocations: 2.292 MB / 0.9708 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.7264, allocations: 0.6358 MB / 0.9714 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.727, allocations: 278.8 kB / 0.9717 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.727, allocations: 10.61 kB / 0.9717 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/0.7279, allocations: 332.4 kB / 0.972 GB, free: 11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.7279, allocations: 0 / 0.972 GB, free: 11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.002013/0.7299, allocations: 0.7769 MB / 0.9728 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.73, allocations: 87.83 kB / 0.9729 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.7314, allocations: 0.7624 MB / 0.9736 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.7315, allocations: 35.8 kB / 0.9736 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.7319, allocations: 438 kB / 0.974 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.7321, allocations: 204.3 kB / 0.9742 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.7322, allocations: 62.25 kB / 0.9743 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7324, allocations: 331.5 kB / 0.9746 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.7329, allocations: 205.3 kB / 0.9748 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.7335, allocations: 313.3 kB / 0.9751 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.7347, allocations: 0.5213 MB / 0.9756 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.7348, allocations: 1.062 kB / 0.9756 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001729/0.7365, allocations: 0.6641 MB / 0.9763 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.7367, allocations: 155.5 kB / 0.9764 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.7367, allocations: 6.656 kB / 0.9764 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.7367, allocations: 3.844 kB / 0.9764 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.7375, allocations: 152.8 kB / 0.9766 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/0.7375, allocations: 9.281 kB / 0.9766 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/0.7382, allocations: 78.97 kB / 0.9767 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.7383, allocations: 19.03 kB / 0.9767 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7383, allocations: 5.656 kB / 0.9767 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001249/0.7396, allocations: 0.5242 MB / 0.9772 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7396, allocations: 2.812 kB / 0.9772 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7396, allocations: 5.812 kB / 0.9772 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.7403, allocations: 143 kB / 0.9773 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.7403, allocations: 9.438 kB / 0.9773 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.741, allocations: 65.11 kB / 0.9774 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.7411, allocations: 24.2 kB / 0.9774 GB, free: 7.539 MB / 0.7325 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.000619/0.7417, allocations: 296.8 kB / 0.9777 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.742, allocations: 94.16 kB / 0.9778 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.7424, allocations: 105.5 kB / 0.9779 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.7424, allocations: 10.88 kB / 0.9779 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.7424, allocations: 0 / 0.9779 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7424, allocations: 3.984 kB / 0.9779 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.7453, allocations: 1.452 MB / 0.9793 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7453, allocations: 3.938 kB / 0.9793 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.7459, allocations: 103.9 kB / 0.9794 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.7459, allocations: 8 kB / 0.9794 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.7459, allocations: 19.92 kB / 0.9795 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.7459, allocations: 0 / 0.9795 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.746, allocations: 0 / 0.9795 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.7479, allocations: 0.9781 MB / 0.9804 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.7482, allocations: 235.6 kB / 0.9806 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.7484, allocations: 19.94 kB / 0.9807 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.7489, allocations: 36.06 kB / 0.9807 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.749, allocations: 48.48 kB / 0.9807 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.7491, allocations: 16 kB / 0.9808 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007199/0.7498, allocations: 0.5146 MB / 0.9813 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.7498, allocations: 4 kB / 0.9813 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009045/0.7507, allocations: 279 kB / 0.9815 GB, free: 3.621 MB / 0.7325 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.000168/0.7509, allocations: 111.2 kB / 0.9816 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.7528, allocations: 0.8041 MB / 0.9824 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7528, allocations: 4.062 kB / 0.9824 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.7534, allocations: 275.1 kB / 0.9827 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.7548, allocations: 243 kB / 0.9829 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.758, allocations: 1.94 MB / 0.9848 GB, free: 228 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.7587, allocations: 0.9901 MB / 0.9858 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005696/0.7592, allocations: 118.8 kB / 0.9859 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.7595, allocations: 59.44 kB / 0.986 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of SimCode: time 8.61e-07/0.7595, allocations: 0 / 0.986 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.01751/0.777, allocations: 8.684 MB / 0.9944 GB, free: 6.445 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches