Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001053/0.001053, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.00132/0.001321, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.879/2.879, allocations: 462.6 MB / 0.736 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 15.06 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3713, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004724/0.376, allocations: 3.655 MB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.3794, allocations: 1.508 MB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.3805, allocations: 31.88 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.381, allocations: 118.8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009928/0.382, allocations: 174.8 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.3835, allocations: 0.5204 MB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.3851, allocations: 1.05 MB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.3859, allocations: 347.4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.3866, allocations: 338 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.3871, allocations: 329.8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.3872, allocations: 28 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.3872, allocations: 28 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3874, allocations: 139.2 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.3876, allocations: 173.1 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.3883, allocations: 0.8068 MB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3883, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3883, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3884, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 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.002091/0.3905, allocations: 1.243 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3905, allocations: 12.03 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3907, allocations: 130.4 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3919, allocations: 0.6957 MB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.392, allocations: 79.66 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.3921, allocations: 75.98 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.3933, allocations: 0.7367 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3933, allocations: 4 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.3934, allocations: 28 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3934, allocations: 16 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3945, allocations: 0.5282 MB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.3981, allocations: 2.294 MB / 1.073 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3995, allocations: 0.6271 MB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.4, allocations: 290.3 kB / 1.074 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.4, allocations: 8.547 kB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006884/0.4007, allocations: 327.1 kB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 3.647e-06/0.4007, allocations: 0 / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.001664/0.4024, allocations: 0.7599 MB / 1.075 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.4025, allocations: 89.61 kB / 1.075 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/0.4033, allocations: 0.7556 MB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.4034, allocations: 33.7 kB / 1.076 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.4037, allocations: 440.5 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4039, allocations: 201 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.4039, allocations: 12 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4041, allocations: 330 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.4045, allocations: 205.2 kB / 1.077 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.405, allocations: 312.4 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.4055, allocations: 234.1 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4055, allocations: 176 / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001221/0.4068, allocations: 0.6656 MB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.4069, allocations: 155.2 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4069, allocations: 4 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4069, allocations: 4 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.4076, allocations: 147.8 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.4076, allocations: 11.94 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.408, allocations: 79.36 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.4081, allocations: 19.98 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.4081, allocations: 5.875 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001017/0.4091, allocations: 0.5169 MB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4091, allocations: 4 kB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.4091, allocations: 7.953 kB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.4097, allocations: 139.8 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4097, allocations: 15.92 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.4101, allocations: 67.61 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.4102, allocations: 20 kB / 1.079 GB, free: 15.41 MB / 0.8419 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003491/0.4105, allocations: 298.5 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4107, allocations: 90.88 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.4109, allocations: 109.2 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4109, allocations: 7.984 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4109, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4109, allocations: 3.984 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.4131, allocations: 1.454 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4131, allocations: 4 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.4136, allocations: 107.8 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4136, allocations: 3.938 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.4137, allocations: 12 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4137, allocations: 7.984 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4137, allocations: 0 / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.4154, allocations: 0.9863 MB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.4156, allocations: 215.8 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.4157, allocations: 19.94 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.4161, allocations: 47.97 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.4162, allocations: 32.52 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.4163, allocations: 19.98 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006395/0.4169, allocations: 0.5107 MB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4169, allocations: 0 / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007399/0.4177, allocations: 271 kB / 1.083 GB, free: 11.14 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.4178, allocations: 119.2 kB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.4194, allocations: 0.8074 MB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4194, allocations: 0 / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.4199, allocations: 267.7 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.421, allocations: 240.6 kB / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.4237, allocations: 1.819 MB / 1.086 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.4243, allocations: 0.994 MB / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005068/0.4248, allocations: 118.8 kB / 1.087 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.425, allocations: 67.42 kB / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.425, allocations: 0 / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.01569/0.4407, allocations: 8.392 MB / 1.096 GB, free: 14.36 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches