Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001252/0.001252, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001122/0.001122, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.513/2.513, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.925e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005916/0.005945, allocations: 3.488 MB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004414/0.01036, allocations: 1.401 MB / 0.8433 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007553/0.01111, allocations: 31.75 kB / 0.8434 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.01154, allocations: 134.5 kB / 0.8435 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007212/0.01226, allocations: 186.4 kB / 0.8437 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.01356, allocations: 0.5693 MB / 0.8442 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.0148, allocations: 0.9641 MB / 0.8452 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.0153, allocations: 248.2 kB / 0.8454 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.01606, allocations: 0.5065 MB / 0.8459 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.01647, allocations: 263 kB / 0.8462 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.0166, allocations: 76 kB / 0.8462 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.01669, allocations: 80 kB / 0.8463 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.01684, allocations: 179.3 kB / 0.8465 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.01708, allocations: 231.2 kB / 0.8467 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.01784, allocations: 0.5873 MB / 0.8473 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01784, allocations: 0 / 0.8473 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01784, allocations: 0 / 0.8473 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.01785, allocations: 0 / 0.8473 GB, free: 5.242 MB / 0.8073 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.001617/0.01947, allocations: 1.071 MB / 0.8483 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.01951, allocations: 12.62 kB / 0.8483 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.01969, allocations: 100.8 kB / 0.8484 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.02054, allocations: 499.9 kB / 0.8489 GB, free: 3.508 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.02066, allocations: 148.3 kB / 0.849 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.02089, allocations: 68.31 kB / 0.8491 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.02165, allocations: 0.5958 MB / 0.8497 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.02167, allocations: 192 / 0.8497 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.0217, allocations: 24.12 kB / 0.8497 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.02171, allocations: 12 kB / 0.8497 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.0219, allocations: 146.8 kB / 0.8499 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.02347, allocations: 1.454 MB / 0.8513 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.02379, allocations: 227.4 kB / 0.8515 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.02388, allocations: 84.75 kB / 0.8516 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.02391, allocations: 8 kB / 0.8516 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.02412, allocations: 209.6 kB / 0.8518 GB, free: 364 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=45): time 1.883e-06/0.02412, allocations: 0 / 0.8518 GB, free: 364 kB / 0.8073 GB Notification: Performance of matching and sorting (n=45): time 0.0003389/0.02446, allocations: 256.7 kB / 0.852 GB, free: 100 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.02457, allocations: 110.8 kB / 0.8521 GB, free: 15.96 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.02489, allocations: 0.5117 MB / 0.8526 GB, free: 15.45 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.02492, allocations: 37.7 kB / 0.8527 GB, free: 15.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.02505, allocations: 278.9 kB / 0.8529 GB, free: 15.12 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.02513, allocations: 170.5 kB / 0.8531 GB, free: 14.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.02523, allocations: 98.23 kB / 0.8532 GB, free: 14.85 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.02534, allocations: 382.6 kB / 0.8536 GB, free: 14.47 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.02544, allocations: 85.16 kB / 0.8536 GB, free: 14.38 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.0256, allocations: 239.2 kB / 0.8539 GB, free: 14.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.02583, allocations: 266.6 kB / 0.8541 GB, free: 13.78 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02583, allocations: 4 kB / 0.8541 GB, free: 13.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003152/0.02615, allocations: 337.8 kB / 0.8545 GB, free: 13.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.02618, allocations: 33.69 kB / 0.8545 GB, free: 13.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.02619, allocations: 7.984 kB / 0.8545 GB, free: 13.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.0262, allocations: 7.938 kB / 0.8545 GB, free: 13.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.02645, allocations: 107.9 kB / 0.8546 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.02646, allocations: 7.938 kB / 0.8546 GB, free: 13.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.02663, allocations: 59.64 kB / 0.8547 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.02665, allocations: 12.22 kB / 0.8547 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001455/0.0268, allocations: 175.1 kB / 0.8548 GB, free: 13.01 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001456/0.02694, allocations: 231.3 kB / 0.8551 GB, free: 12.73 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002161/0.02716, allocations: 266.8 kB / 0.8553 GB, free: 12.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.02716, allocations: 0 / 0.8553 GB, free: 12.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.000301/0.02746, allocations: 333.7 kB / 0.8556 GB, free: 12.08 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.02749, allocations: 35.73 kB / 0.8557 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.02749, allocations: 8.312 kB / 0.8557 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-06/0.02749, allocations: 4 kB / 0.8557 GB, free: 12.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.02771, allocations: 103.9 kB / 0.8558 GB, free: 11.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.02772, allocations: 19.8 kB / 0.8558 GB, free: 11.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.02787, allocations: 47.72 kB / 0.8559 GB, free: 11.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.02789, allocations: 20 kB / 0.8559 GB, free: 11.84 MB / 0.823 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 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.0001013/0.02799, allocations: 208.1 kB / 0.8561 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.02804, allocations: 55.94 kB / 0.8561 GB, free: 11.58 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.427e-05/0.02812, allocations: 74.77 kB / 0.8562 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02812, allocations: 11.94 kB / 0.8562 GB, free: 11.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02812, allocations: 0 / 0.8562 GB, free: 11.49 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.02813, allocations: 3.984 kB / 0.8562 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.0284, allocations: 317.4 kB / 0.8565 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02841, allocations: 4 kB / 0.8565 GB, free: 11.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.02861, allocations: 79.89 kB / 0.8566 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02862, allocations: 4 kB / 0.8566 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.02863, allocations: 7.984 kB / 0.8566 GB, free: 11.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.02864, allocations: 4 kB / 0.8566 GB, free: 11.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02864, allocations: 4 kB / 0.8566 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.029, allocations: 327.5 kB / 0.8569 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.02912, allocations: 75.39 kB / 0.857 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.02915, allocations: 12 kB / 0.857 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.0293, allocations: 23.97 kB / 0.857 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.02935, allocations: 31.94 kB / 0.8571 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.02937, allocations: 15.92 kB / 0.8571 GB, free: 10.56 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001728/0.02954, allocations: 244.6 kB / 0.8573 GB, free: 10.33 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02954, allocations: 4 kB / 0.8573 GB, free: 10.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003047/0.02985, allocations: 227.3 kB / 0.8575 GB, free: 10.1 MB / 0.823 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.0001109/0.02996, allocations: 92.36 kB / 0.8576 GB, free: 10 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.03041, allocations: 0.5125 MB / 0.8581 GB, free: 9.449 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.03042, allocations: 8 kB / 0.8581 GB, free: 9.441 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.03053, allocations: 105 kB / 0.8582 GB, free: 9.336 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.03097, allocations: 218.2 kB / 0.8584 GB, free: 9.133 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.03216, allocations: 1.063 MB / 0.8595 GB, free: 8.031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.03224, allocations: 146.5 kB / 0.8596 GB, free: 7.867 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.03246, allocations: 96.95 kB / 0.8597 GB, free: 7.773 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.0328, allocations: 213.2 kB / 0.8599 GB, free: 7.562 MB / 0.823 GB Notification: Performance of SimCode: time 7.72e-07/0.03281, allocations: 0 / 0.8599 GB, free: 7.562 MB / 0.823 GB Notification: Performance of Templates: time 0.01092/0.04373, allocations: 8.65 MB / 0.8684 GB, free: 15.11 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPID.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.49763297336176]