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.001337/0.001337, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001349/0.001349, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.291/1.291, allocations: 222.9 MB / 241 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.443/2.443, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.89 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7218, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.0048/0.7267, allocations: 3.612 MB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.7299, allocations: 2.139 MB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.7306, allocations: 19.94 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.7311, allocations: 178 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.7317, allocations: 138.7 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.7329, allocations: 0.4986 MB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.7342, allocations: 1.256 MB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009018/0.7351, allocations: 0.6032 MB / 1.217 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.7356, allocations: 446.2 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.7362, allocations: 477.6 kB / 1.218 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.7364, allocations: 136 kB / 1.218 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.7366, allocations: 140 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.7369, allocations: 263 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.7373, allocations: 0.5012 MB / 1.219 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.7385, allocations: 1.426 MB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7386, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7386, allocations: 0 / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.7386, allocations: 0 / 1.22 GB, free: 1.742 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.002578/0.7412, allocations: 1.375 MB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7412, allocations: 8.031 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.7415, allocations: 115.6 kB / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/0.7423, allocations: 0.6064 MB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.7424, allocations: 74.31 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.7425, allocations: 92.38 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.744, allocations: 0.8641 MB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.744, allocations: 192 / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.7441, allocations: 39.94 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.7441, allocations: 20 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7454, allocations: 0.6402 MB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/0.7495, allocations: 2.964 MB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.751, allocations: 0.6816 MB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/0.7516, allocations: 378.6 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.7517, allocations: 9.656 kB / 1.228 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/0.7523, allocations: 351 kB / 1.228 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 2.054e-06/0.7523, allocations: 0 / 1.228 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.001668/0.754, allocations: 0.8298 MB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.7541, allocations: 188.5 kB / 1.229 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.7549, allocations: 0.6724 MB / 1.23 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.755, allocations: 53.62 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.7553, allocations: 431.8 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.7554, allocations: 228.7 kB / 1.23 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.7557, allocations: 146.6 kB / 1.23 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7558, allocations: 337.9 kB / 1.231 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.7564, allocations: 296.7 kB / 1.231 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/0.7572, allocations: 484.7 kB / 1.232 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.7584, allocations: 0.6692 MB / 1.232 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.7584, allocations: 4 kB / 1.232 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001677/0.7601, allocations: 0.8765 MB / 1.233 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.7602, allocations: 42.06 kB / 1.233 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7602, allocations: 8 kB / 1.233 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.7602, allocations: 8 kB / 1.233 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.7608, allocations: 155.8 kB / 1.233 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.7608, allocations: 8 kB / 1.233 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.7615, allocations: 143 kB / 1.233 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.7616, allocations: 35.92 kB / 1.233 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006142/0.7622, allocations: 398 kB / 1.234 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005254/0.7627, allocations: 414.3 kB / 1.234 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007787/0.7635, allocations: 0.5678 MB / 1.235 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.7635, allocations: 4 kB / 1.235 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001204/0.7647, allocations: 0.7637 MB / 1.236 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.7648, allocations: 40.05 kB / 1.236 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7648, allocations: 4 kB / 1.236 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.7648, allocations: 4.188 kB / 1.236 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.7653, allocations: 139.8 kB / 1.236 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7653, allocations: 11.94 kB / 1.236 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.7659, allocations: 111.5 kB / 1.236 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.7659, allocations: 31.98 kB / 1.236 GB, free: 0.8945 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.000191/0.7661, allocations: 236 kB / 1.236 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.7662, allocations: 78.97 kB / 1.236 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.7675, allocations: 0.6555 MB / 1.237 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7675, allocations: 8 kB / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7675, allocations: 0 / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7675, allocations: 3.984 kB / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.7701, allocations: 1.675 MB / 1.238 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.7701, allocations: 11.88 kB / 1.238 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.7706, allocations: 123.9 kB / 1.239 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.7707, allocations: 4 kB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.7707, allocations: 23.94 kB / 1.239 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.7707, allocations: 8.266 kB / 1.239 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7707, allocations: 8 kB / 1.239 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.7725, allocations: 1.085 MB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.7726, allocations: 171.9 kB / 1.24 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.7727, allocations: 20 kB / 1.24 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.7731, allocations: 43.95 kB / 1.24 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.7732, allocations: 48.44 kB / 1.24 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.7732, allocations: 24 kB / 1.24 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005665/0.7738, allocations: 487 kB / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7738, allocations: 0 / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007773/0.7746, allocations: 322.8 kB / 1.241 GB, free: 11.73 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.0002059/0.7748, allocations: 123.1 kB / 1.241 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.7769, allocations: 1.151 MB / 1.242 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7769, allocations: 4 kB / 1.242 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.7775, allocations: 312.5 kB / 1.242 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.7783, allocations: 183 kB / 1.242 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.7806, allocations: 1.515 MB / 1.244 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.7811, allocations: 0.9782 MB / 1.245 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.7813, allocations: 71.41 kB / 1.245 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.7813, allocations: 0 / 1.245 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of Templates: time 0.0142/0.7955, allocations: 10.17 MB / 1.255 GB, free: 13.15 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/jenkins1/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