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.008757/0.008757, allocations: 96.47 kB / 15.73 MB, free: 6.051 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.00188/0.00188, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 3.077/3.077, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 63.91 kB / 1.018 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3549, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006544/0.3615, allocations: 4.339 MB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003797/0.3653, allocations: 1.581 MB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008519/0.3662, allocations: 35.81 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.3669, allocations: 166.2 kB / 1.173 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009914/0.3679, allocations: 242 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.3696, allocations: 0.6736 MB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.3714, allocations: 1.222 MB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.3722, allocations: 0.5001 MB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.373, allocations: 477.9 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.3735, allocations: 465.4 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.3736, allocations: 100 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3738, allocations: 104 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.374, allocations: 239 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.3746, allocations: 481.1 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.3759, allocations: 1.17 MB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.376, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.465e-06/0.376, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.376, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.9356 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.002518/0.3785, allocations: 1.433 MB / 1.179 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3786, allocations: 15.98 kB / 1.179 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3788, allocations: 128.1 kB / 1.18 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.3801, allocations: 0.7712 MB / 1.18 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/0.3802, allocations: 80.27 kB / 1.18 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-05/0.3803, allocations: 72.38 kB / 1.18 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3816, allocations: 0.7329 MB / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.3817, allocations: 3.984 kB / 1.181 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.3817, allocations: 31.94 kB / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.3818, allocations: 16 kB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3828, allocations: 0.5126 MB / 1.182 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.3862, allocations: 2.256 MB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3876, allocations: 0.6193 MB / 1.185 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.3881, allocations: 273.7 kB / 1.185 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.3882, allocations: 12.55 kB / 1.185 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/0.3889, allocations: 323.1 kB / 1.185 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=60): time 2.945e-06/0.3889, allocations: 0 / 1.185 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60): time 0.001651/0.3906, allocations: 0.7562 MB / 1.186 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.3907, allocations: 89.66 kB / 1.186 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.3916, allocations: 0.7556 MB / 1.187 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.3917, allocations: 41.64 kB / 1.187 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.3921, allocations: 445 kB / 1.187 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3923, allocations: 218.1 kB / 1.187 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.3924, allocations: 110.3 kB / 1.187 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3926, allocations: 338 kB / 1.188 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.393, allocations: 207.4 kB / 1.188 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.3935, allocations: 304.4 kB / 1.188 GB, free: 208 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.3945, allocations: 0.5036 MB / 1.189 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3945, allocations: 0 / 1.189 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001191/0.3957, allocations: 0.6586 MB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3957, allocations: 4 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3957, allocations: 4 kB / 1.189 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3958, allocations: 11.92 kB / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.3964, allocations: 147.8 kB / 1.19 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3965, allocations: 11.88 kB / 1.19 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.3969, allocations: 71.58 kB / 1.19 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3969, allocations: 20.06 kB / 1.19 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006367/0.3976, allocations: 357.4 kB / 1.19 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005197/0.3981, allocations: 288.5 kB / 1.19 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008538/0.399, allocations: 499.7 kB / 1.191 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.399, allocations: 0 / 1.191 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001179/0.4002, allocations: 0.6349 MB / 1.191 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4002, allocations: 8 kB / 1.191 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4002, allocations: 0 / 1.191 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.4002, allocations: 11.98 kB / 1.191 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.4008, allocations: 136 kB / 1.192 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4009, allocations: 12 kB / 1.192 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.4013, allocations: 55.59 kB / 1.192 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.4013, allocations: 23.98 kB / 1.192 GB, free: 12.67 MB / 0.9512 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.0002491/0.4016, allocations: 212.1 kB / 1.192 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4017, allocations: 99.34 kB / 1.192 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.402, allocations: 101.2 kB / 1.192 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.402, allocations: 12 kB / 1.192 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.402, allocations: 3.938 kB / 1.192 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.402, allocations: 3.984 kB / 1.192 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.4042, allocations: 1.431 MB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4042, allocations: 4 kB / 1.193 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.4049, allocations: 107.8 kB / 1.194 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4049, allocations: 4 kB / 1.194 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.4049, allocations: 15.98 kB / 1.194 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4049, allocations: 0 / 1.194 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.405, allocations: 0 / 1.194 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.4067, allocations: 0.9872 MB / 1.195 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.407, allocations: 224.2 kB / 1.195 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.4071, allocations: 15.98 kB / 1.195 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.4075, allocations: 35.97 kB / 1.195 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.4076, allocations: 32.52 kB / 1.195 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.4076, allocations: 19.98 kB / 1.195 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006167/0.4082, allocations: 0.5185 MB / 1.195 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4083, allocations: 0 / 1.195 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007676/0.409, allocations: 279.3 kB / 1.196 GB, free: 8.488 MB / 0.9512 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.0002438/0.4093, allocations: 119.1 kB / 1.196 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.4109, allocations: 0.7923 MB / 1.196 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.4109, allocations: 4 kB / 1.197 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.4114, allocations: 267.1 kB / 1.197 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4125, allocations: 262.1 kB / 1.197 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.415, allocations: 1.585 MB / 1.199 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.4157, allocations: 0.9898 MB / 1.2 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004567/0.4161, allocations: 122.7 kB / 1.2 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.4163, allocations: 55.44 kB / 1.2 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of SimCode: time 9.72e-07/0.4163, allocations: 4 kB / 1.2 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of Templates: time 0.01785/0.4342, allocations: 9.392 MB / 1.209 GB, free: 10.96 MB / 0.9669 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/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