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.008179/0.008179, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001261/0.001261, allocations: 195.1 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.542/2.542, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 71.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005915/1.059, allocations: 3.623 MB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003802/1.062, allocations: 2.133 MB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/1.063, allocations: 23.94 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/1.064, allocations: 174.1 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005717/1.064, allocations: 150.6 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/1.066, allocations: 0.4958 MB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001659/1.068, allocations: 1.26 MB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/1.069, allocations: 0.5955 MB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/1.069, allocations: 450.2 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/1.07, allocations: 477.6 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002202/1.07, allocations: 128 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/1.071, allocations: 143.9 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/1.071, allocations: 259.1 kB / 1.176 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/1.071, allocations: 0.509 MB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.073, allocations: 1.428 MB / 1.178 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.073, allocations: 0 / 1.178 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.864e-06/1.073, allocations: 4 kB / 1.178 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.704e-05/1.073, allocations: 0 / 1.178 GB, free: 7.953 MB / 0.9044 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.003675/1.077, allocations: 1.402 MB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.077, allocations: 8.031 kB / 1.18 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/1.077, allocations: 124.2 kB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.078, allocations: 0.6108 MB / 1.18 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/1.078, allocations: 70.38 kB / 1.18 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/1.079, allocations: 96.33 kB / 1.18 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/1.081, allocations: 0.8563 MB / 1.181 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.081, allocations: 8.062 kB / 1.181 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/1.081, allocations: 43.94 kB / 1.181 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/1.081, allocations: 24 kB / 1.181 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.083, allocations: 0.6363 MB / 1.182 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/1.089, allocations: 2.969 MB / 1.185 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/1.091, allocations: 0.6802 MB / 1.186 GB, free: 192 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009671/1.092, allocations: 382.6 kB / 1.186 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-05/1.093, allocations: 12.62 kB / 1.186 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009828/1.094, allocations: 339 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=68): time 3.938e-06/1.094, allocations: 0 / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.002724/1.096, allocations: 0.8419 MB / 1.187 GB, free: 14.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.096, allocations: 192.5 kB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.098, allocations: 0.6763 MB / 1.188 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.098, allocations: 45.69 kB / 1.188 GB, free: 13.65 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/1.098, allocations: 436.6 kB / 1.188 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/1.099, allocations: 241.9 kB / 1.189 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/1.099, allocations: 146.6 kB / 1.189 GB, free: 12.83 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.099, allocations: 337.9 kB / 1.189 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.1, allocations: 304.6 kB / 1.189 GB, free: 12.19 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/1.102, allocations: 490 kB / 1.19 GB, free: 11.64 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/1.104, allocations: 0.6731 MB / 1.19 GB, free: 10.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.104, allocations: 0 / 1.19 GB, free: 10.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002793/1.106, allocations: 0.8731 MB / 1.191 GB, free: 10.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/1.107, allocations: 41.69 kB / 1.191 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.107, allocations: 4 kB / 1.191 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.107, allocations: 4.375 kB / 1.191 GB, free: 9.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/1.107, allocations: 167.8 kB / 1.192 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/1.107, allocations: 11.92 kB / 1.192 GB, free: 9.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/1.108, allocations: 143.3 kB / 1.192 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/1.108, allocations: 35.98 kB / 1.192 GB, free: 9.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007291/1.109, allocations: 398 kB / 1.192 GB, free: 9.242 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005883/1.11, allocations: 418.2 kB / 1.193 GB, free: 8.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000857/1.11, allocations: 0.5639 MB / 1.193 GB, free: 8.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/1.111, allocations: 0 / 1.193 GB, free: 8.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001416/1.112, allocations: 0.7638 MB / 1.194 GB, free: 7.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/1.112, allocations: 38.08 kB / 1.194 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.112, allocations: 4 kB / 1.194 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/1.112, allocations: 8 kB / 1.194 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/1.113, allocations: 135.8 kB / 1.194 GB, free: 7.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.113, allocations: 7.938 kB / 1.194 GB, free: 7.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/1.113, allocations: 115.7 kB / 1.194 GB, free: 7.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/1.113, allocations: 31.98 kB / 1.194 GB, free: 7.039 MB / 0.92 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.000287/1.114, allocations: 232 kB / 1.194 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.114, allocations: 87.44 kB / 1.194 GB, free: 6.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.115, allocations: 0.6554 MB / 1.195 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/1.115, allocations: 4 kB / 1.195 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.115, allocations: 0 / 1.195 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.115, allocations: 3.984 kB / 1.195 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/1.118, allocations: 1.671 MB / 1.197 GB, free: 4.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.118, allocations: 3.938 kB / 1.197 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/1.119, allocations: 139.8 kB / 1.197 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.119, allocations: 4 kB / 1.197 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/1.119, allocations: 19.98 kB / 1.197 GB, free: 4.113 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.119, allocations: 4 kB / 1.197 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.119, allocations: 3.938 kB / 1.197 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/1.121, allocations: 1.097 MB / 1.198 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/1.121, allocations: 180.4 kB / 1.198 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.121, allocations: 12 kB / 1.198 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/1.121, allocations: 47.95 kB / 1.198 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/1.122, allocations: 52.44 kB / 1.198 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/1.122, allocations: 20 kB / 1.198 GB, free: 2.641 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006773/1.122, allocations: 483 kB / 1.199 GB, free: 2.172 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 0 / 1.199 GB, free: 2.172 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001016/1.123, allocations: 323.1 kB / 1.199 GB, free: 1.855 MB / 0.92 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.0002934/1.124, allocations: 135 kB / 1.199 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002468/1.126, allocations: 1.148 MB / 1.2 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.126, allocations: 0 / 1.2 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/1.127, allocations: 312 kB / 1.201 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.128, allocations: 191.3 kB / 1.201 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.131, allocations: 1.507 MB / 1.202 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/1.131, allocations: 0.978 MB / 1.203 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004047/1.132, allocations: 97.92 kB / 1.203 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/1.132, allocations: 63.41 kB / 1.203 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of SimCode: time 9.21e-07/1.132, allocations: 0 / 1.203 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of Templates: time 0.01992/1.152, allocations: 9.825 MB / 1.213 GB, free: 3.605 MB / 0.9356 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