Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001114/0.001114, 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.001268/0.001268, 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 65.88 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4188, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004991/0.4239, allocations: 3.602 MB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.4269, allocations: 2.089 MB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/0.4273, allocations: 19.94 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.4277, allocations: 130.8 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4281, allocations: 103.2 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.4291, allocations: 449.4 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.4301, allocations: 1.139 MB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008059/0.4309, allocations: 0.5798 MB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.4313, allocations: 366.2 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.4317, allocations: 433.5 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.4319, allocations: 63.94 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.432, allocations: 75.98 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.4322, allocations: 191.1 kB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.4325, allocations: 453.2 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4337, allocations: 1.316 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4337, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4337, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.4337, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 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.002576/0.4363, allocations: 1.368 MB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4363, allocations: 8.031 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.4366, allocations: 119.6 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.4374, allocations: 0.6024 MB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.4375, allocations: 66.38 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.4377, allocations: 96.38 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.4394, allocations: 0.8563 MB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.4394, allocations: 8.125 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.4395, allocations: 39.94 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.4395, allocations: 20 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.4409, allocations: 0.6363 MB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.4456, allocations: 2.988 MB / 1.085 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.4471, allocations: 0.6946 MB / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/0.4478, allocations: 378.5 kB / 1.086 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.4479, allocations: 13.64 kB / 1.086 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.4487, allocations: 347 kB / 1.086 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.955e-06/0.4487, allocations: 0 / 1.086 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.001774/0.4505, allocations: 0.8376 MB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.4506, allocations: 188.5 kB / 1.087 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008585/0.4515, allocations: 0.6762 MB / 1.088 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.4515, allocations: 45.7 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.4519, allocations: 431.8 kB / 1.088 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.4521, allocations: 236.6 kB / 1.089 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.4524, allocations: 142.7 kB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4525, allocations: 337.9 kB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/0.4532, allocations: 292.7 kB / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.4541, allocations: 482.2 kB / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.4553, allocations: 0.681 MB / 1.09 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4553, allocations: 3.938 kB / 1.09 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001737/0.457, allocations: 0.8768 MB / 1.091 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.4571, allocations: 37.7 kB / 1.091 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4571, allocations: 7.984 kB / 1.091 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4571, allocations: 4 kB / 1.091 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.4578, allocations: 159.8 kB / 1.092 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4578, allocations: 12 kB / 1.092 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.4584, allocations: 139 kB / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.4585, allocations: 35.98 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000652/0.4591, allocations: 394 kB / 1.092 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005667/0.4597, allocations: 422.2 kB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007959/0.4605, allocations: 0.56 MB / 1.093 GB, free: 104 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.4605, allocations: 0 / 1.093 GB, free: 104 kB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001283/0.4618, allocations: 0.7672 MB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.4619, allocations: 39.27 kB / 1.094 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4619, allocations: 4 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.4619, allocations: 8 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.4624, allocations: 132.2 kB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4624, allocations: 15.94 kB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.463, allocations: 111.4 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.463, allocations: 28 kB / 1.094 GB, free: 14.98 MB / 0.8575 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.000258/0.4633, allocations: 233.3 kB / 1.094 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4634, allocations: 86.95 kB / 1.094 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.4647, allocations: 0.6515 MB / 1.095 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4647, allocations: 8 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4648, allocations: 0 / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4648, allocations: 3.984 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.4673, allocations: 1.667 MB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.4673, allocations: 11.97 kB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.4679, allocations: 127.8 kB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.4679, allocations: 11.94 kB / 1.097 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.468, allocations: 19.98 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.468, allocations: 4 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.468, allocations: 4 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.4699, allocations: 1.081 MB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.4701, allocations: 179.9 kB / 1.098 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.4702, allocations: 20 kB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.4706, allocations: 44.05 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.4707, allocations: 48.38 kB / 1.098 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.4707, allocations: 23.98 kB / 1.098 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005778/0.4713, allocations: 491 kB / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4713, allocations: 0 / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009422/0.4722, allocations: 314.8 kB / 1.099 GB, free: 9.824 MB / 0.8575 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.0002658/0.4725, allocations: 127.1 kB / 1.099 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.4746, allocations: 1.144 MB / 1.1 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4747, allocations: 4.5 kB / 1.1 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.4752, allocations: 306.9 kB / 1.101 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.4762, allocations: 171.4 kB / 1.101 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.4786, allocations: 1.855 MB / 1.103 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.4791, allocations: 0.9785 MB / 1.103 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003898/0.4795, allocations: 97.89 kB / 1.104 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.4797, allocations: 75.41 kB / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.4797, allocations: 0 / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of Templates: time 0.01521/0.4949, allocations: 9.206 MB / 1.113 GB, free: 11.85 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches