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.001927/0.001927, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002061/0.002061, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.825/2.825, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6344, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006225/0.6406, allocations: 4.33 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.6442, allocations: 1.539 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.6448, allocations: 35.81 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.6453, allocations: 122.9 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.6459, allocations: 182.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.6474, allocations: 0.6194 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.6489, allocations: 1.144 MB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007753/0.6497, allocations: 488.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.6503, allocations: 405.7 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.6508, allocations: 425.5 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.6509, allocations: 48 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.651, allocations: 48 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.6512, allocations: 183 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.6516, allocations: 441 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.6527, allocations: 1.057 MB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6527, allocations: 3.938 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.298e-06/0.6527, allocations: 4 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6527, allocations: 0 / 1.027 GB, free: 7.66 MB / 0.7794 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.002748/0.6555, allocations: 1.393 MB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6555, allocations: 11.98 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.6558, allocations: 127.4 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.6571, allocations: 0.7274 MB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.6572, allocations: 88.25 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6573, allocations: 68.38 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6587, allocations: 0.7329 MB / 1.03 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6588, allocations: 4 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.6588, allocations: 28 kB / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.6589, allocations: 16 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.66, allocations: 0.5204 MB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.6638, allocations: 2.267 MB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6653, allocations: 0.6171 MB / 1.034 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.6659, allocations: 282.3 kB / 1.034 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.6659, allocations: 8.562 kB / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008088/0.6668, allocations: 323 kB / 1.034 GB, free: 244 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/0.6668, allocations: 0 / 1.034 GB, free: 244 kB / 0.7794 GB Notification: Performance of matching and sorting (n=60): time 0.00179/0.6686, allocations: 0.7516 MB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.6686, allocations: 85.67 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.6697, allocations: 0.7555 MB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.6698, allocations: 45.69 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.6701, allocations: 432.5 kB / 1.036 GB, free: 14.14 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.6703, allocations: 212.9 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.6705, allocations: 110.3 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6707, allocations: 330 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.6712, allocations: 207.4 kB / 1.037 GB, free: 13.28 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.6717, allocations: 300.5 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.6728, allocations: 0.5113 MB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6728, allocations: 0 / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001324/0.6741, allocations: 0.6617 MB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6741, allocations: 4 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6742, allocations: 4 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.6742, allocations: 4 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.6749, allocations: 148 kB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.6749, allocations: 15.92 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.6754, allocations: 71.34 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.6754, allocations: 20 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006962/0.6761, allocations: 359.1 kB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005132/0.6766, allocations: 300.4 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009281/0.6776, allocations: 495.5 kB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.6776, allocations: 7.938 kB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001234/0.6788, allocations: 0.6268 MB / 1.041 GB, free: 9.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.6788, allocations: 8 kB / 1.041 GB, free: 9.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.6789, allocations: 4 kB / 1.041 GB, free: 9.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.6789, allocations: 4 kB / 1.041 GB, free: 9.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.6795, allocations: 143.7 kB / 1.041 GB, free: 9.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.6795, allocations: 4 kB / 1.041 GB, free: 9.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.68, allocations: 55.52 kB / 1.041 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.68, allocations: 27.98 kB / 1.041 GB, free: 9.395 MB / 0.795 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.0002711/0.6803, allocations: 218 kB / 1.041 GB, free: 9.176 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6805, allocations: 90.88 kB / 1.041 GB, free: 9.086 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.6807, allocations: 105.2 kB / 1.041 GB, free: 8.977 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.6807, allocations: 8 kB / 1.041 GB, free: 8.969 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.6807, allocations: 3.938 kB / 1.041 GB, free: 8.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6808, allocations: 3.984 kB / 1.041 GB, free: 8.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.6832, allocations: 1.434 MB / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6832, allocations: 0 / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.6838, allocations: 107.8 kB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.6838, allocations: 0 / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.6838, allocations: 15.98 kB / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.6838, allocations: 8 kB / 1.043 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6838, allocations: 0 / 1.043 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.6856, allocations: 0.9586 MB / 1.044 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.6859, allocations: 223.8 kB / 1.044 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.686, allocations: 12 kB / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.6865, allocations: 31.97 kB / 1.044 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.6866, allocations: 32.52 kB / 1.044 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.6866, allocations: 19.98 kB / 1.044 GB, free: 6.035 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007351/0.6874, allocations: 0.5185 MB / 1.045 GB, free: 5.523 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6874, allocations: 0 / 1.045 GB, free: 5.523 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007735/0.6882, allocations: 279 kB / 1.045 GB, free: 5.25 MB / 0.795 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.0001692/0.6883, allocations: 115.7 kB / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.6901, allocations: 0.7994 MB / 1.046 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6901, allocations: 0 / 1.046 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.6906, allocations: 279.9 kB / 1.046 GB, free: 4.059 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.6918, allocations: 247 kB / 1.046 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.6948, allocations: 1.885 MB / 1.048 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.6955, allocations: 0.9901 MB / 1.049 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005261/0.696, allocations: 118.7 kB / 1.049 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6962, allocations: 63.42 kB / 1.049 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of SimCode: time 4.8e-07/0.6962, allocations: 0 / 1.049 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of Templates: time 0.01895/0.7152, allocations: 8.759 MB / 1.058 GB, free: 8.035 MB / 0.8106 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=400 -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