Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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.0009491/0.0009491, allocations: 80.75 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.0009566/0.0009566, allocations: 181 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 0.9205/0.9205, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.27/2.27, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] 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.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 7.875 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.986e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002612/0.002632, allocations: 1.531 MB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.003379, allocations: 466.7 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.003416, allocations: 4 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.003446, allocations: 7.922 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.003528, allocations: 11.92 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003663, allocations: 19.92 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.003745, allocations: 51.83 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.003828, allocations: 15.92 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.003899, allocations: 27.98 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.003965, allocations: 19.89 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.003986, allocations: 4 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.003998, allocations: 8 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.004017, allocations: 4 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.004049, allocations: 19.92 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.004139, allocations: 35.89 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004142, allocations: 0 / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004142, allocations: 0 / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004146, allocations: 0 / 0.8407 GB, free: 12.03 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003506/0.004496, allocations: 272.7 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.004535, allocations: 8.625 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.004564, allocations: 4.938 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.004649, allocations: 109.8 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004662, allocations: 8.375 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.004674, allocations: 4.375 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.004751, allocations: 54.17 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004759, allocations: 192 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.004766, allocations: 384 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.004773, allocations: 7.938 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.004802, allocations: 11.98 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.005069, allocations: 180.1 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.005144, allocations: 42.55 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.005168, allocations: 16.86 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.005176, allocations: 7.984 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.103e-05/0.005268, allocations: 67.36 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.005269, allocations: 0 / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001265/0.005395, allocations: 69.61 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.005434, allocations: 59.34 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.005496, allocations: 106.7 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.005516, allocations: 33.7 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.005548, allocations: 88.08 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.005571, allocations: 19.84 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.005613, allocations: 33.7 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.005695, allocations: 322.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.005711, allocations: 12 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.005745, allocations: 35.41 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.005803, allocations: 51.53 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005805, allocations: 3.938 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.819e-05/0.005903, allocations: 77.53 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.005917, allocations: 10.5 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005922, allocations: 3.938 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.005934, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.005997, allocations: 12 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.006, allocations: 4.031 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.006044, allocations: 11.98 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.006049, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.734e-05/0.006116, allocations: 121.7 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.006129, allocations: 7.938 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.006151, allocations: 12.11 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006152, allocations: 4 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006154, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006157, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.006386, allocations: 226.7 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.006389, allocations: 7.938 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.006405, allocations: 4 kB / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.006407, allocations: 0 / 0.8427 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006413, allocations: 4.062 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006415, allocations: 0 / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.006417, allocations: 4 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.006736, allocations: 151.5 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.006744, allocations: 3.938 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.006758, allocations: 11.98 kB / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.006814, allocations: 0 / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.006844, allocations: 11.98 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.006849, allocations: 0 / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.515e-05/0.006864, allocations: 12.84 kB / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006864, allocations: 0 / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002324/0.007097, allocations: 16 kB / 0.8429 GB, free: 9.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.918e-05/0.007176, allocations: 80.41 kB / 0.843 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.753e-05/0.007263, allocations: 45.05 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007265, allocations: 0 / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.007307, allocations: 24.84 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.0075, allocations: 20.08 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.007775, allocations: 160.3 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.007812, allocations: 63.34 kB / 0.8433 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.007837, allocations: 3.984 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.007894, allocations: 59.38 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.007895, allocations: 0 / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of Templates: time 0.002756/0.01065, allocations: 0.8464 MB / 0.8442 GB, free: 8.164 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.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.805063868872821]