Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.000926/0.000926, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001036/0.001036, allocations: 165 kB / 24.16 MB, free: 328 kB / 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 0.9692/0.9692, allocations: 177.2 MB / 204.6 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.13e-05, allocations: 2.312 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001257/0.001278, allocations: 0.7408 MB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.002522, allocations: 1.318 MB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.002573, allocations: 0 / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.002607, allocations: 9.453 kB / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.615e-05/0.002693, allocations: 19.88 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.003176, allocations: 241 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.003397, allocations: 258.6 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.003481, allocations: 20.19 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.003635, allocations: 147.8 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.00376, allocations: 76.88 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.003787, allocations: 16 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.003849, allocations: 32.58 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.003879, allocations: 35.89 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.003945, allocations: 72.58 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.00411, allocations: 160.1 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004111, allocations: 0 / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004112, allocations: 1.094 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.004116, allocations: 0 / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000443/0.004559, allocations: 400.9 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.00459, allocations: 8.031 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.004639, allocations: 29.41 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.004797, allocations: 150.8 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.004816, allocations: 12.36 kB / 0.7637 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.004845, allocations: 20.38 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004977, allocations: 124.5 kB / 0.7638 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.004984, allocations: 192 / 0.7638 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.004998, allocations: 13.56 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005004, allocations: 4.375 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.00505, allocations: 39.84 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.005574, allocations: 325.9 kB / 0.7642 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.005713, allocations: 105.9 kB / 0.7643 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.00575, allocations: 34.33 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.005758, allocations: 4.75 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.005943, allocations: 190.4 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.052e-06/0.005944, allocations: 0.6562 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0002133/0.006158, allocations: 181.5 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.006199, allocations: 91.86 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.006263, allocations: 134.5 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.006289, allocations: 41.7 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.006333, allocations: 100.6 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.006366, allocations: 51.62 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.006438, allocations: 69.64 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.006513, allocations: 326.8 kB / 0.7654 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.006598, allocations: 107.7 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.006706, allocations: 178.1 kB / 0.7657 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.006849, allocations: 222.6 kB / 0.7659 GB, free: 336 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.006854, allocations: 3.938 kB / 0.7659 GB, free: 332 kB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002464/0.0071, allocations: 322.4 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.007137, allocations: 71.39 kB / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007143, allocations: 0 / 0.7663 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.007158, allocations: 5.531 kB / 0.7663 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.007229, allocations: 23.94 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.007236, allocations: 4 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.007394, allocations: 62.58 kB / 0.7664 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.007413, allocations: 8 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.396e-05/0.007507, allocations: 147.6 kB / 0.7665 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.00753, allocations: 27.91 kB / 0.7666 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.007564, allocations: 18.56 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.007567, allocations: 4 kB / 0.7666 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007569, allocations: 0 / 0.7666 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.007574, allocations: 0 / 0.7666 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.007847, allocations: 391.4 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007849, allocations: 6.391 kB / 0.767 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.007875, allocations: 16 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007877, allocations: 0 / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.007888, allocations: 7.984 kB / 0.767 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.00789, allocations: 0 / 0.767 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007892, allocations: 0 / 0.767 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.00806, allocations: 318.6 kB / 0.7673 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.008073, allocations: 20.75 kB / 0.7673 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.008096, allocations: 11.94 kB / 0.7673 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.008166, allocations: 8.484 kB / 0.7673 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.008213, allocations: 24.55 kB / 0.7673 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.008225, allocations: 16.69 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.008243, allocations: 23.45 kB / 0.7674 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008243, allocations: 5.5 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000198/0.008441, allocations: 55.98 kB / 0.7674 GB, free: 14.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001026/0.008544, allocations: 97.47 kB / 0.7675 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.00879, allocations: 337.6 kB / 0.7679 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.008793, allocations: 0 / 0.7679 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.008858, allocations: 73.59 kB / 0.7679 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.009059, allocations: 40.67 kB / 0.768 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.009357, allocations: 242.1 kB / 0.7682 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.009396, allocations: 73.05 kB / 0.7683 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.009436, allocations: 16.52 kB / 0.7683 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.009544, allocations: 95.34 kB / 0.7684 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.009545, allocations: 0 / 0.7684 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.00444/0.01398, allocations: 3.042 MB / 0.7713 GB, free: 10.78 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.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: 4.967460936401039]