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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007361/0.007362, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001342/0.001342, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.91 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005618/1.095, allocations: 3.618 MB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003996/1.099, allocations: 2.136 MB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009697/1.1, allocations: 19.94 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/1.101, allocations: 182 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007632/1.102, allocations: 146.6 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/1.103, allocations: 0.4987 MB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001292/1.105, allocations: 1.252 MB / 1.215 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008055/1.105, allocations: 0.5994 MB / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/1.106, allocations: 454.2 kB / 1.216 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/1.106, allocations: 485.5 kB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/1.107, allocations: 132 kB / 1.217 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/1.107, allocations: 144 kB / 1.217 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/1.107, allocations: 251.1 kB / 1.217 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/1.107, allocations: 0.5012 MB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/1.109, allocations: 1.434 MB / 1.219 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.109, allocations: 0 / 1.219 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.694e-06/1.109, allocations: 4 kB / 1.219 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.109, allocations: 0 / 1.219 GB, free: 1.734 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.002416/1.111, allocations: 1.375 MB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/1.111, allocations: 12.03 kB / 1.221 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/1.111, allocations: 111.6 kB / 1.221 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009263/1.112, allocations: 0.6024 MB / 1.221 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/1.112, allocations: 70.38 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.112, allocations: 92.38 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.114, allocations: 0.8641 MB / 1.222 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/1.114, allocations: 192 / 1.222 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/1.114, allocations: 39.94 kB / 1.222 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/1.114, allocations: 20 kB / 1.222 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/1.116, allocations: 0.6402 MB / 1.223 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004484/1.12, allocations: 2.956 MB / 1.226 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.122, allocations: 0.6838 MB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006423/1.122, allocations: 378.6 kB / 1.227 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/1.122, allocations: 12.7 kB / 1.227 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006614/1.123, allocations: 355 kB / 1.227 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 2.555e-06/1.123, allocations: 0 / 1.227 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.0018/1.125, allocations: 0.822 MB / 1.228 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.125, allocations: 192.5 kB / 1.228 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/1.126, allocations: 0.6763 MB / 1.229 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/1.126, allocations: 45.69 kB / 1.229 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/1.126, allocations: 427.8 kB / 1.229 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.126, allocations: 232.6 kB / 1.23 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.126, allocations: 146.7 kB / 1.23 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.127, allocations: 333.9 kB / 1.23 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/1.127, allocations: 304.6 kB / 1.23 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/1.128, allocations: 474.2 kB / 1.231 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/1.13, allocations: 0.677 MB / 1.231 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.13, allocations: 4 kB / 1.232 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002574/1.132, allocations: 0.8769 MB / 1.232 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/1.132, allocations: 41.69 kB / 1.232 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.132, allocations: 7.938 kB / 1.232 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/1.132, allocations: 8.031 kB / 1.232 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/1.133, allocations: 159.7 kB / 1.233 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/1.133, allocations: 8 kB / 1.233 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009561/1.134, allocations: 143 kB / 1.233 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/1.134, allocations: 35.98 kB / 1.233 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008278/1.135, allocations: 394 kB / 1.233 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005629/1.136, allocations: 422.2 kB / 1.234 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008115/1.137, allocations: 0.5639 MB / 1.234 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/1.137, allocations: 0 / 1.234 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001399/1.138, allocations: 0.7634 MB / 1.235 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/1.138, allocations: 33.7 kB / 1.235 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.138, allocations: 4 kB / 1.235 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/1.138, allocations: 8 kB / 1.235 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/1.139, allocations: 139.8 kB / 1.235 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.139, allocations: 8.375 kB / 1.235 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/1.139, allocations: 111.5 kB / 1.235 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/1.139, allocations: 31.98 kB / 1.235 GB, free: 0.9023 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.0002358/1.14, allocations: 232 kB / 1.235 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.14, allocations: 78.97 kB / 1.235 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/1.141, allocations: 0.6594 MB / 1.236 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/1.141, allocations: 8 kB / 1.236 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.141, allocations: 4 kB / 1.236 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.141, allocations: 3.984 kB / 1.236 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/1.144, allocations: 1.663 MB / 1.238 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.144, allocations: 7.938 kB / 1.238 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/1.145, allocations: 132.1 kB / 1.238 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/1.145, allocations: 8 kB / 1.238 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/1.145, allocations: 15.98 kB / 1.238 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.145, allocations: 7.938 kB / 1.238 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.145, allocations: 4 kB / 1.238 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/1.147, allocations: 1.089 MB / 1.239 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/1.147, allocations: 171.9 kB / 1.239 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/1.147, allocations: 16 kB / 1.239 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/1.148, allocations: 51.95 kB / 1.239 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.148, allocations: 40.5 kB / 1.239 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/1.148, allocations: 23.94 kB / 1.239 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007181/1.149, allocations: 487 kB / 1.24 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.048e-06/1.149, allocations: 0 / 1.24 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001024/1.15, allocations: 334.7 kB / 1.24 GB, free: 11.74 MB / 0.9669 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.000293/1.15, allocations: 131.2 kB / 1.24 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002377/1.152, allocations: 1.152 MB / 1.241 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.152, allocations: 0 / 1.241 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/1.153, allocations: 303.4 kB / 1.242 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009792/1.154, allocations: 190.5 kB / 1.242 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/1.157, allocations: 1.486 MB / 1.243 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/1.157, allocations: 0.9782 MB / 1.244 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004039/1.158, allocations: 97.91 kB / 1.244 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.158, allocations: 71.41 kB / 1.244 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/1.158, allocations: 0 / 1.244 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of Templates: time 0.02137/1.179, allocations: 9.803 MB / 1.254 GB, free: 13.52 MB / 0.9825 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