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.001551/0.001551, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 196 kB / 16.79 MB, free: 6.809 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 461.8 MB / 0.7348 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 70.25 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 157.4 MB / 1.053 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.00613/0.346, allocations: 4.33 MB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3492, allocations: 1.55 MB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005202/0.3497, allocations: 35.81 kB / 1.059 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.3502, allocations: 118.8 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.3509, allocations: 190.8 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3521, allocations: 0.6138 MB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.3532, allocations: 1.14 MB / 1.061 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007085/0.3539, allocations: 488.1 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.3544, allocations: 409.8 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.3548, allocations: 425.4 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3549, allocations: 48 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.355, allocations: 52 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3552, allocations: 179 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.3555, allocations: 437 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.3562, allocations: 0.8344 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3562, allocations: 3.984 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3562, allocations: 4 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.3562, allocations: 0 / 1.063 GB, free: 13.49 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.002396/0.3586, allocations: 1.387 MB / 1.065 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/0.3587, allocations: 15.97 kB / 1.065 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.3589, allocations: 119.4 kB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.3602, allocations: 0.7313 MB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3604, allocations: 88.25 kB / 1.066 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.3605, allocations: 68.38 kB / 1.066 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3618, allocations: 0.7329 MB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3618, allocations: 3.938 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.3619, allocations: 28 kB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.3619, allocations: 16 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.363, allocations: 0.5165 MB / 1.067 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.3666, allocations: 2.271 MB / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.368, allocations: 0.6207 MB / 1.07 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.3686, allocations: 270.4 kB / 1.07 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.3686, allocations: 12.55 kB / 1.07 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000656/0.3693, allocations: 334.9 kB / 1.07 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 1.744e-06/0.3693, allocations: 0 / 1.07 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.001595/0.3709, allocations: 0.7517 MB / 1.071 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.371, allocations: 81.67 kB / 1.071 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/0.3718, allocations: 0.7594 MB / 1.072 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.3719, allocations: 41.7 kB / 1.072 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.3722, allocations: 436.5 kB / 1.072 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3724, allocations: 205 kB / 1.073 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.3726, allocations: 106.3 kB / 1.073 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3727, allocations: 330 kB / 1.073 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.3732, allocations: 211.3 kB / 1.073 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.3737, allocations: 312.4 kB / 1.073 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.3747, allocations: 0.4996 MB / 1.074 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3747, allocations: 4 kB / 1.074 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001236/0.3759, allocations: 0.6501 MB / 1.075 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.376, allocations: 9.562 kB / 1.075 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.376, allocations: 0 / 1.075 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.376, allocations: 8 kB / 1.075 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.3766, allocations: 147.7 kB / 1.075 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3767, allocations: 7.938 kB / 1.075 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3771, allocations: 79.53 kB / 1.075 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.3771, allocations: 24 kB / 1.075 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006007/0.3777, allocations: 363.3 kB / 1.075 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004714/0.3782, allocations: 292.4 kB / 1.075 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008773/0.3791, allocations: 491.7 kB / 1.076 GB, free: 136 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.3791, allocations: 0 / 1.076 GB, free: 136 kB / 0.8262 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001156/0.3803, allocations: 0.6383 MB / 1.077 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.3803, allocations: 4 kB / 1.077 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3803, allocations: 4 kB / 1.077 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.3803, allocations: 4.25 kB / 1.077 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.3809, allocations: 147.8 kB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3809, allocations: 4 kB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.3813, allocations: 63.44 kB / 1.077 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3814, allocations: 16 kB / 1.077 GB, free: 15.24 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,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.0002271/0.3816, allocations: 216.1 kB / 1.077 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3817, allocations: 98.94 kB / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.3819, allocations: 105.2 kB / 1.077 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.382, allocations: 4 kB / 1.077 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.382, allocations: 3.938 kB / 1.077 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.382, allocations: 4 kB / 1.077 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.3842, allocations: 1.442 MB / 1.079 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3842, allocations: 0 / 1.079 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.3847, allocations: 107.8 kB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3847, allocations: 4 kB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3848, allocations: 15.94 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3848, allocations: 4 kB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3848, allocations: 0 / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.3865, allocations: 0.9626 MB / 1.08 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.3867, allocations: 223.8 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.3868, allocations: 12 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.3872, allocations: 31.95 kB / 1.08 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.3873, allocations: 36.52 kB / 1.08 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.3874, allocations: 19.98 kB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006204/0.388, allocations: 0.5185 MB / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.388, allocations: 0 / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007094/0.3887, allocations: 275 kB / 1.081 GB, free: 11.08 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 (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.0001628/0.3889, allocations: 123.1 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.3904, allocations: 0.7919 MB / 1.082 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3905, allocations: 0 / 1.082 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.391, allocations: 267.1 kB / 1.082 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3921, allocations: 251.7 kB / 1.082 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.3949, allocations: 1.926 MB / 1.084 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.3954, allocations: 0.9901 MB / 1.085 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.3957, allocations: 71.42 kB / 1.085 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3957, allocations: 0 / 1.085 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.01586/0.4115, allocations: 10.91 MB / 1.096 GB, free: 11.75 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches