Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0005667/0.0005667, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009486/0.001515, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001037/0.001037, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002424, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9199/0.9199, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07582/0.9957, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001264/0.001264, allocations: 238.1 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.0023, allocations: 471.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6726/0.6726, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06257/0.7352, allocations: 42.4 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.416e-05, allocations: 6.25 kB / 428 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002514/0.002528, allocations: 1.587 MB / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006216/0.00315, allocations: 474.6 kB / 430.1 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.003176, allocations: 8 kB / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.003197, allocations: 3.938 kB / 430.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.003233, allocations: 3.938 kB / 430.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.401e-05/0.003307, allocations: 31.83 kB / 430.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.003372, allocations: 47.86 kB / 430.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.946e-05/0.003441, allocations: 8 kB / 430.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.003505, allocations: 39.89 kB / 430.2 MB, free: 2.281 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.003562, allocations: 19.91 kB / 430.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.00358, allocations: 4 kB / 430.3 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.00359, allocations: 4 kB / 430.3 MB, free: 2.254 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.003606, allocations: 12 kB / 430.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.00363, allocations: 11.94 kB / 430.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.003712, allocations: 35.84 kB / 430.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.003721, allocations: 0 / 430.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003721, allocations: 3.938 kB / 430.3 MB, free: 2.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.003729, allocations: 0 / 430.3 MB, free: 2.191 MB / 410.7 MB 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.0003148/0.004043, allocations: 264.6 kB / 430.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.004069, allocations: 8.031 kB / 430.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.004092, allocations: 8.922 kB / 430.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.761e-05/0.00417, allocations: 109.8 kB / 430.7 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004179, allocations: 12.38 kB / 430.7 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.004188, allocations: 4.375 kB / 430.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.863e-05/0.004247, allocations: 54.11 kB / 430.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.004252, allocations: 4.188 kB / 430.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004258, allocations: 384 / 430.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004262, allocations: 3.938 kB / 430.8 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.004284, allocations: 11.98 kB / 430.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.004518, allocations: 180.2 kB / 431 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/0.004577, allocations: 46.55 kB / 431 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.004596, allocations: 20.84 kB / 431 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-06/0.004601, allocations: 0 / 431 MB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/0.004688, allocations: 75.3 kB / 431.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.41e-07/0.004689, allocations: 4 kB / 431.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001017/0.00479, allocations: 65.61 kB / 431.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.004822, allocations: 55.39 kB / 431.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.004897, allocations: 106.7 kB / 431.3 MB, free: 1.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.004909, allocations: 29.7 kB / 431.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.004936, allocations: 88.12 kB / 431.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.004957, allocations: 23.84 kB / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.004985, allocations: 33.69 kB / 431.5 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.005046, allocations: 310.8 kB / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.005057, allocations: 8 kB / 431.8 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.005082, allocations: 43.34 kB / 431.9 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.996e-05/0.005122, allocations: 51.52 kB / 431.9 MB, free: 440 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.005125, allocations: 4 kB / 431.9 MB, free: 436 kB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.893e-05/0.005194, allocations: 73.55 kB / 432 MB, free: 356 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.005203, allocations: 7.938 kB / 432 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005207, allocations: 0 / 432 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.005217, allocations: 8.031 kB / 432 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.005269, allocations: 15.98 kB / 432 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.005273, allocations: 0 / 432 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.005306, allocations: 15.89 kB / 432 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.005312, allocations: 4 kB / 432 MB, free: 304 kB / 410.7 MB 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 5.205e-05/0.005364, allocations: 125.8 kB / 432.2 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/0.005373, allocations: 11.92 kB / 432.2 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.005448, allocations: 8.125 kB / 432.2 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.005451, allocations: 4 kB / 432.2 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005452, allocations: 0 / 432.2 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005455, allocations: 4 kB / 432.2 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1722/0.1777, allocations: 212.2 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1777, allocations: 3.562 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.1777, allocations: 8.625 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.1777, allocations: 5.891 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1777, allocations: 0.5625 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1777, allocations: 2.062 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1777, allocations: 0.875 kB / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1777, allocations: 0 / 432.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.1778, allocations: 160.3 kB / 432.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.1778, allocations: 4.266 kB / 432.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.1778, allocations: 3.062 kB / 432.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.1779, allocations: 10.34 kB / 432.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1779, allocations: 3.125 kB / 432.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.096e-05/0.1779, allocations: 11.55 kB / 432.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1779, allocations: 3.75 kB / 432.6 MB, free: 2.309 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.178, allocations: 15.09 kB / 432.6 MB, free: 2.309 MB / 410.7 MB 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 6.101e-05/0.1781, allocations: 80.44 kB / 432.7 MB, free: 2.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.1781, allocations: 47.05 kB / 432.7 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1781, allocations: 4.906 kB / 432.8 MB, free: 2.234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.1782, allocations: 25.38 kB / 432.8 MB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1783, allocations: 74.55 kB / 432.8 MB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.1786, allocations: 144.5 kB / 433 MB, free: 2.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.089e-05/0.1786, allocations: 59.81 kB / 433 MB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.1786, allocations: 6.312 kB / 433.1 MB, free: 1.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1787, allocations: 60.64 kB / 433.1 MB, free: 1.938 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1787, allocations: 0 / 433.1 MB, free: 1.938 MB / 410.7 MB Notification: Performance of Templates: time 0.001969/0.1806, allocations: 0.863 MB / 434 MB, free: 1.914 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1072914507240057]