Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 220.3 kB / 23.05 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.708/1.708, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.356/3.356, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.11 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4363, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006799/0.4431, allocations: 3.366 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.4466, allocations: 1.321 MB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.4471, allocations: 35.75 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.4475, allocations: 130.6 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005703/0.448, allocations: 188.7 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4493, allocations: 0.5728 MB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.4505, allocations: 0.9643 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.451, allocations: 230.1 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.4515, allocations: 382.4 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.4519, allocations: 326 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.452, allocations: 80 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.4522, allocations: 80 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.4523, allocations: 187.3 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.4526, allocations: 298.2 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.4537, allocations: 0.9178 MB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4537, allocations: 0 / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4537, allocations: 4 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.4538, allocations: 0 / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002242/0.456, allocations: 1.127 MB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.456, allocations: 8.031 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.4562, allocations: 96.33 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.4574, allocations: 0.5701 MB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.4576, allocations: 148.4 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.721e-05/0.4576, allocations: 52.38 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.4589, allocations: 0.7673 MB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.459, allocations: 3.984 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.459, allocations: 24 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.459, allocations: 12 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/0.46, allocations: 427.6 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.4628, allocations: 1.815 MB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.464, allocations: 480.2 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.4645, allocations: 211.6 kB / 1.342 GB, free: 1.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.4645, allocations: 11.94 kB / 1.342 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000716/0.4653, allocations: 341.3 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 3.236e-06/0.4653, allocations: 0 / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001581/0.4668, allocations: 0.6078 MB / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.4669, allocations: 122.5 kB / 1.343 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.4677, allocations: 0.5708 MB / 1.343 GB, free: 180 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.4677, allocations: 37.7 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.4681, allocations: 369.1 kB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.4682, allocations: 162.5 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.4684, allocations: 102.3 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4686, allocations: 374.8 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.4691, allocations: 217.1 kB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.4696, allocations: 367.1 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.4706, allocations: 481.9 kB / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4706, allocations: 0 / 1.345 GB, free: 13.97 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001282/0.4719, allocations: 0.6315 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.472, allocations: 45.62 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.472, allocations: 0 / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.472, allocations: 8 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.4725, allocations: 107.8 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4725, allocations: 4 kB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.4729, allocations: 67.89 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.4729, allocations: 16 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006057/0.4735, allocations: 339.1 kB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000547/0.4741, allocations: 359.1 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008358/0.4749, allocations: 450 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4749, allocations: 8 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001131/0.4761, allocations: 0.608 MB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.4761, allocations: 38 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4761, allocations: 8 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.4761, allocations: 4 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.4766, allocations: 99.83 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4766, allocations: 11.98 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.4769, allocations: 47.77 kB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.477, allocations: 19.98 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.000221/0.4772, allocations: 212.1 kB / 1.348 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4773, allocations: 79.47 kB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.4775, allocations: 70.77 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4775, allocations: 4 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4775, allocations: 0 / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4775, allocations: 11.92 kB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.4781, allocations: 464.8 kB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4781, allocations: 0 / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.4786, allocations: 87.83 kB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4786, allocations: 0 / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.4786, allocations: 19.98 kB / 1.349 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4786, allocations: 0 / 1.349 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4786, allocations: 0 / 1.349 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.4802, allocations: 0.7358 MB / 1.35 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.4804, allocations: 119.4 kB / 1.35 GB, free: 9.137 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.4805, allocations: 8 kB / 1.35 GB, free: 9.129 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.4809, allocations: 39.95 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.481, allocations: 31.94 kB / 1.35 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.481, allocations: 16 kB / 1.35 GB, free: 9.043 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005164/0.4815, allocations: 399.1 kB / 1.35 GB, free: 8.656 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4815, allocations: 0 / 1.35 GB, free: 8.656 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006377/0.4822, allocations: 235.4 kB / 1.35 GB, free: 8.426 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001594/0.4823, allocations: 115.1 kB / 1.35 GB, free: 8.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.484, allocations: 0.8154 MB / 1.351 GB, free: 7.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.484, allocations: 0 / 1.351 GB, free: 7.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.4845, allocations: 200.9 kB / 1.351 GB, free: 7.258 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.4853, allocations: 203.5 kB / 1.352 GB, free: 7.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4876, allocations: 1.224 MB / 1.353 GB, free: 5.809 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4879, allocations: 318.9 kB / 1.353 GB, free: 5.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.4881, allocations: 55.42 kB / 1.353 GB, free: 5.414 MB / 1.045 GB Notification: Performance of SimCode: time 1.162e-06/0.4881, allocations: 0 / 1.353 GB, free: 5.414 MB / 1.045 GB Notification: Performance of Templates: time 0.01465/0.5027, allocations: 8.925 MB / 1.362 GB, free: 12.53 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.200373982079327]