Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 197.3 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 109.3 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 45.33 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2523, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002195/0.2545, allocations: 1.533 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000503/0.255, allocations: 439.8 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.2551, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.2551, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.2552, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.2553, allocations: 19.98 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.798e-05/0.2554, allocations: 47.91 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.2555, allocations: 19.98 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.2555, allocations: 19.88 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.2556, allocations: 19.91 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2556, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.2556, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.2556, allocations: 7.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.2557, allocations: 19.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/0.2558, allocations: 35.88 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2558, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2558, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2558, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 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.0003852/0.2562, allocations: 365.5 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.2562, allocations: 15.92 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.2563, allocations: 12.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.2563, allocations: 168.4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2564, allocations: 8.297 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2564, allocations: 8.375 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.2565, allocations: 65.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2565, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2565, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2565, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.2566, allocations: 23.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.2569, allocations: 312.6 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.257, allocations: 54.56 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.2571, allocations: 20.95 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.2571, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.2572, allocations: 75.41 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2572, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0001735/0.2574, allocations: 97.53 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2574, allocations: 63.38 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.2575, allocations: 101.9 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2575, allocations: 29.7 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.2575, allocations: 88.12 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.2576, allocations: 20.09 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2576, allocations: 29.7 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.2576, allocations: 318.8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.2577, allocations: 19.98 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.2577, allocations: 51.3 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.2578, allocations: 59.44 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2578, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001076/0.2579, allocations: 105.5 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2579, allocations: 11.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2579, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.258, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.258, allocations: 12.27 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.258, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.2581, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2581, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 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 5.601e-05/0.2582, allocations: 135 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.2582, allocations: 15.92 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.2582, allocations: 7.969 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2582, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2582, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2582, allocations: 64 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2585, allocations: 362.4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2585, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.2585, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2586, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2586, allocations: 3.984 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2586, allocations: 3.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2586, allocations: 3.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.2588, allocations: 0.7434 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.2588, allocations: 81.11 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2589, allocations: 4.188 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.2589, allocations: 7.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.259, allocations: 11.94 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.259, allocations: 3.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.115e-05/0.259, allocations: 79.28 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.259, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003038/0.2593, allocations: 16 kB / 1.224 GB, free: 111.1 MB / 0.823 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 6.509e-05/0.2594, allocations: 99.19 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.2595, allocations: 63.91 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2595, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.2596, allocations: 20 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2598, allocations: 15.92 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.2601, allocations: 290.1 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/0.2602, allocations: 0.6887 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.2603, allocations: 7.984 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.2603, allocations: 11.44 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2603, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of Templates: time 0.002198/0.2625, allocations: 0.7274 MB / 1.226 GB, free: 109.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)