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.001559/0.001559, 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.001733/0.001733, 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 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.485/2.485, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.91 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9469/0.9487, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.004588/0.9533, allocations: 3.618 MB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.9566, allocations: 2.14 MB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.957, allocations: 19.94 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.9574, allocations: 170.1 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.9579, allocations: 154.6 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.9589, allocations: 0.4904 MB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.96, allocations: 1.256 MB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.9608, allocations: 0.5955 MB / 1.176 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.9612, allocations: 446.2 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.9617, allocations: 489.4 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.9618, allocations: 132 kB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.962, allocations: 144 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.9622, allocations: 251.1 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.9626, allocations: 0.5089 MB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.9638, allocations: 1.43 MB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9638, allocations: 0 / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9638, allocations: 0 / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.9638, allocations: 0 / 1.179 GB, free: 7.938 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.002306/0.9661, allocations: 1.368 MB / 1.18 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.9662, allocations: 12.03 kB / 1.18 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.9664, allocations: 115.6 kB / 1.18 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008586/0.9672, allocations: 0.6063 MB / 1.181 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.9673, allocations: 70.38 kB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.9675, allocations: 96.36 kB / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.9688, allocations: 0.8641 MB / 1.182 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.9689, allocations: 4.172 kB / 1.182 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.9689, allocations: 39.94 kB / 1.182 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.969, allocations: 20 kB / 1.182 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.9702, allocations: 0.6324 MB / 1.183 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.9744, allocations: 2.964 MB / 1.186 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.9758, allocations: 0.6801 MB / 1.186 GB, free: 232 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.9765, allocations: 370.8 kB / 1.187 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.9765, allocations: 16.45 kB / 1.187 GB, free: 15.85 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.9772, allocations: 351 kB / 1.187 GB, free: 15.49 MB / 0.92 GB Notification: Performance of pre-optimization done (n=68): time 4.177e-06/0.9772, allocations: 0 / 1.187 GB, free: 15.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.001728/0.9789, allocations: 0.8337 MB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.979, allocations: 188.5 kB / 1.188 GB, free: 14.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007936/0.9798, allocations: 0.6724 MB / 1.189 GB, free: 13.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.9799, allocations: 45.7 kB / 1.189 GB, free: 13.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.9802, allocations: 427.8 kB / 1.189 GB, free: 13.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.9804, allocations: 240.6 kB / 1.189 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.9806, allocations: 142.7 kB / 1.189 GB, free: 12.89 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9808, allocations: 333.9 kB / 1.19 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/0.9814, allocations: 292.7 kB / 1.19 GB, free: 12.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007958/0.9822, allocations: 486 kB / 1.19 GB, free: 11.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.9835, allocations: 0.6731 MB / 1.191 GB, free: 11.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9835, allocations: 4 kB / 1.191 GB, free: 11 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001729/0.9852, allocations: 0.8847 MB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.9853, allocations: 41.64 kB / 1.192 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9853, allocations: 96 / 1.192 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.9853, allocations: 15.92 kB / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.986, allocations: 163.7 kB / 1.192 GB, free: 9.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.986, allocations: 8 kB / 1.192 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.9866, allocations: 143 kB / 1.192 GB, free: 9.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.9867, allocations: 35.98 kB / 1.192 GB, free: 9.699 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006446/0.9874, allocations: 394 kB / 1.193 GB, free: 9.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005624/0.9879, allocations: 418.2 kB / 1.193 GB, free: 8.836 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008221/0.9888, allocations: 0.5678 MB / 1.194 GB, free: 8.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.9888, allocations: 0 / 1.194 GB, free: 8.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001257/0.9901, allocations: 0.7634 MB / 1.194 GB, free: 7.445 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.9901, allocations: 37.7 kB / 1.194 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9901, allocations: 4 kB / 1.194 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.9901, allocations: 8 kB / 1.194 GB, free: 7.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.9906, allocations: 135.8 kB / 1.195 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.9907, allocations: 8 kB / 1.195 GB, free: 7.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.9912, allocations: 115.7 kB / 1.195 GB, free: 7.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.9913, allocations: 31.98 kB / 1.195 GB, free: 7.105 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.0002011/0.9915, allocations: 232 kB / 1.195 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.9916, allocations: 82.97 kB / 1.195 GB, free: 6.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.9928, allocations: 0.6516 MB / 1.196 GB, free: 6.117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9929, allocations: 8 kB / 1.196 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9929, allocations: 0 / 1.196 GB, free: 6.109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.9929, allocations: 3.984 kB / 1.196 GB, free: 6.105 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.9953, allocations: 1.663 MB / 1.197 GB, free: 4.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9953, allocations: 7.938 kB / 1.197 GB, free: 4.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.9959, allocations: 132.1 kB / 1.197 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.9959, allocations: 8 kB / 1.197 GB, free: 4.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.996, allocations: 20 kB / 1.197 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.996, allocations: 11.94 kB / 1.197 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.996, allocations: 4 kB / 1.197 GB, free: 4.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.9977, allocations: 1.089 MB / 1.199 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.9979, allocations: 171.9 kB / 1.199 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.998, allocations: 20 kB / 1.199 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.9984, allocations: 47.95 kB / 1.199 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.9985, allocations: 40.45 kB / 1.199 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.9985, allocations: 23.98 kB / 1.199 GB, free: 2.727 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005614/0.9991, allocations: 491 kB / 1.199 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9991, allocations: 0 / 1.199 GB, free: 2.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008784/1, allocations: 318.8 kB / 1.2 GB, free: 1.938 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.0002307/1, allocations: 131.2 kB / 1.2 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002049/1.002, allocations: 1.154 MB / 1.201 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.002, allocations: 1.5 kB / 1.201 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005628/1.003, allocations: 323.5 kB / 1.201 GB, free: 308 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/1.004, allocations: 184.8 kB / 1.201 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/1.006, allocations: 1.516 MB / 1.203 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/1.007, allocations: 0.978 MB / 1.204 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/1.007, allocations: 67.42 kB / 1.204 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/1.007, allocations: 0 / 1.204 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.01388/1.021, allocations: 10.19 MB / 1.214 GB, free: 3.336 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/jenkins1/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