Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009471/0.0009471, 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.001193/0.001193, 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.998/0.998, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.457/2.457, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.181e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00209/0.002112, allocations: 0.7777 MB / 0.8394 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.004105, allocations: 1.314 MB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.004177, allocations: 4 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.004215, allocations: 3.938 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.004325, allocations: 19.75 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.005032, allocations: 247.4 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.005366, allocations: 255.5 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.005461, allocations: 12.22 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.005691, allocations: 151.8 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.005864, allocations: 75.81 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.005904, allocations: 20 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.006002, allocations: 31.92 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.006037, allocations: 27.95 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.006128, allocations: 75.86 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.006357, allocations: 163.5 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00636, allocations: 0 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00636, allocations: 0 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.006364, allocations: 0 / 0.8417 GB, free: 10.93 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005739/0.006938, allocations: 407.8 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.006978, allocations: 12.62 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.007042, allocations: 28.89 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.007246, allocations: 137.7 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.007272, allocations: 12.36 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.00731, allocations: 20.38 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.007486, allocations: 132.5 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.007499, allocations: 192 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.007514, allocations: 4.375 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007522, allocations: 4.375 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.007593, allocations: 39.91 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.008124, allocations: 324.2 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.008305, allocations: 105.2 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.008357, allocations: 37.73 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.008365, allocations: 0 / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.00863, allocations: 196.9 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.008631, allocations: 0 / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0003007/0.008932, allocations: 189.5 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.008979, allocations: 85.09 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.009069, allocations: 133.9 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.00911, allocations: 45.69 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.009162, allocations: 96.62 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.009212, allocations: 55.62 kB / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.009319, allocations: 69.64 kB / 0.8438 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.009421, allocations: 326.8 kB / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.009553, allocations: 107.7 kB / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.009714, allocations: 180.7 kB / 0.8444 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.00993, allocations: 219.2 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.009936, allocations: 7.938 kB / 0.8446 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003654/0.0103, allocations: 320.1 kB / 0.8449 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.01035, allocations: 71.39 kB / 0.8449 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01036, allocations: 0 / 0.8449 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01037, allocations: 4 kB / 0.845 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.01047, allocations: 31.92 kB / 0.845 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.01048, allocations: 8.156 kB / 0.845 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.01072, allocations: 55.84 kB / 0.845 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.01075, allocations: 12 kB / 0.8451 GB, free: 7.191 MB / 0.8073 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 0.0001195/0.01087, allocations: 147.6 kB / 0.8452 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.0109, allocations: 23.97 kB / 0.8452 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.01094, allocations: 16.42 kB / 0.8452 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01094, allocations: 8 kB / 0.8452 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01094, allocations: 0 / 0.8452 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01095, allocations: 3.984 kB / 0.8452 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.0113, allocations: 389.3 kB / 0.8456 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.0113, allocations: 0 / 0.8456 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.01135, allocations: 15.94 kB / 0.8456 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01135, allocations: 4 kB / 0.8456 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01137, allocations: 3.984 kB / 0.8456 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.01137, allocations: 4 kB / 0.8456 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01137, allocations: 0 / 0.8456 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.01161, allocations: 316.7 kB / 0.8459 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.01162, allocations: 19.84 kB / 0.846 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.01166, allocations: 15.92 kB / 0.846 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.01179, allocations: 11.98 kB / 0.846 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.01185, allocations: 31.89 kB / 0.846 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01186, allocations: 8 kB / 0.846 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.01189, allocations: 20.83 kB / 0.8461 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01189, allocations: 0 / 0.8461 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003549/0.01224, allocations: 59.98 kB / 0.8461 GB, free: 6.062 MB / 0.8073 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.0001418/0.01239, allocations: 92.41 kB / 0.8462 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.01274, allocations: 339 kB / 0.8465 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.01275, allocations: 4 kB / 0.8465 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01286, allocations: 68.75 kB / 0.8466 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.01319, allocations: 35.91 kB / 0.8466 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.01361, allocations: 246 kB / 0.8469 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.066e-05/0.01367, allocations: 72 kB / 0.8469 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.01373, allocations: 13.48 kB / 0.8469 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.01389, allocations: 91.34 kB / 0.847 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of SimCode: time 7.21e-07/0.01389, allocations: 0 / 0.847 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.006093/0.01999, allocations: 3.046 MB / 0.85 GB, free: 2.035 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.258707743138075]