Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005253/0.005253, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001183/0.001183, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.822/2.822, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3857, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005978/0.3918, allocations: 3.634 MB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.3966, allocations: 2.113 MB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.398, allocations: 23.94 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.3989, allocations: 186 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.4002, allocations: 138.6 kB / 1.173 GB, free: 0.707 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.4023, allocations: 0.5065 MB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.4046, allocations: 1.252 MB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.4059, allocations: 0.6033 MB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007242/0.4066, allocations: 446.2 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007772/0.4074, allocations: 485.5 kB / 1.176 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.4077, allocations: 132 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.408, allocations: 140 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.4082, allocations: 255.1 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.4087, allocations: 0.5012 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.4104, allocations: 1.443 MB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4104, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4104, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.4104, allocations: 0 / 1.178 GB, free: 10.93 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002705/0.4131, allocations: 1.402 MB / 1.18 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.4132, allocations: 8.031 kB / 1.18 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.4134, allocations: 124.2 kB / 1.18 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.4144, allocations: 0.5992 MB / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.4144, allocations: 74.38 kB / 1.18 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.4146, allocations: 92.33 kB / 1.18 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4162, allocations: 0.868 MB / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4162, allocations: 192 / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.4163, allocations: 39.94 kB / 1.181 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.4163, allocations: 20 kB / 1.181 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4177, allocations: 0.6402 MB / 1.182 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.4227, allocations: 2.965 MB / 1.185 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4242, allocations: 0.6904 MB / 1.186 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.4249, allocations: 382.6 kB / 1.186 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.425, allocations: 8.562 kB / 1.186 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007335/0.4257, allocations: 351 kB / 1.186 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=68): time 3.026e-06/0.4258, allocations: 3.938 kB / 1.186 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=68): time 0.001854/0.4276, allocations: 0.8303 MB / 1.187 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.4278, allocations: 192.5 kB / 1.187 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/0.4287, allocations: 0.6763 MB / 1.188 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.4288, allocations: 45.7 kB / 1.188 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.4292, allocations: 433.7 kB / 1.188 GB, free: 212 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4294, allocations: 245.9 kB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.4297, allocations: 146.6 kB / 1.189 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.4299, allocations: 337.9 kB / 1.189 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.4306, allocations: 300.6 kB / 1.189 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/0.4314, allocations: 478.1 kB / 1.19 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.4328, allocations: 0.677 MB / 1.19 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.4328, allocations: 4 kB / 1.19 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001911/0.4347, allocations: 0.8731 MB / 1.191 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.4348, allocations: 45.69 kB / 1.191 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4348, allocations: 0 / 1.191 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.4349, allocations: 11.94 kB / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.4355, allocations: 160.2 kB / 1.192 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.4355, allocations: 8 kB / 1.192 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.4363, allocations: 147.2 kB / 1.192 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.4363, allocations: 28 kB / 1.192 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008022/0.4371, allocations: 402 kB / 1.192 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006493/0.4378, allocations: 418.2 kB / 1.192 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000943/0.4388, allocations: 0.5717 MB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.4388, allocations: 4 kB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00165/0.4404, allocations: 0.7561 MB / 1.194 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.4405, allocations: 45.62 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4405, allocations: 4.375 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4405, allocations: 8 kB / 1.194 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.4411, allocations: 135.8 kB / 1.194 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.4411, allocations: 15.98 kB / 1.194 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.4418, allocations: 111.5 kB / 1.194 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.4418, allocations: 28 kB / 1.194 GB, free: 10.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0003558/0.4422, allocations: 239 kB / 1.194 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.4423, allocations: 87.42 kB / 1.194 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.4438, allocations: 0.6516 MB / 1.195 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4438, allocations: 8 kB / 1.195 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.4438, allocations: 3.984 kB / 1.195 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4438, allocations: 0 / 1.195 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.4466, allocations: 1.663 MB / 1.197 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4467, allocations: 8.125 kB / 1.197 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.4472, allocations: 127.8 kB / 1.197 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.4472, allocations: 7.938 kB / 1.197 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4473, allocations: 23.98 kB / 1.197 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.4473, allocations: 7.938 kB / 1.197 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4473, allocations: 4 kB / 1.197 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.4492, allocations: 1.093 MB / 1.198 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.4494, allocations: 176.4 kB / 1.198 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.4495, allocations: 20 kB / 1.198 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.4499, allocations: 43.95 kB / 1.198 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.45, allocations: 40.5 kB / 1.198 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.4501, allocations: 27.98 kB / 1.198 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006619/0.4507, allocations: 483 kB / 1.199 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.946e-06/0.4508, allocations: 0 / 1.199 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001104/0.4519, allocations: 331 kB / 1.199 GB, free: 4.844 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.0004133/0.4523, allocations: 123.2 kB / 1.199 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.4548, allocations: 1.152 MB / 1.2 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.4548, allocations: 4 kB / 1.2 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.4554, allocations: 303 kB / 1.201 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4565, allocations: 186 kB / 1.201 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.4596, allocations: 1.515 MB / 1.202 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.4602, allocations: 0.9782 MB / 1.203 GB, free: 496 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004132/0.4607, allocations: 105.9 kB / 1.203 GB, free: 388 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4608, allocations: 67.42 kB / 1.203 GB, free: 320 kB / 0.9512 GB Notification: Performance of SimCode: time 1.073e-06/0.4608, allocations: 0 / 1.203 GB, free: 320 kB / 0.9512 GB Notification: Performance of Templates: time 0.02225/0.4831, allocations: 9.803 MB / 1.213 GB, free: 6.602 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches