Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 69.94 kB / 0.6722 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.237, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002953/0.24, allocations: 1.484 MB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.2408, allocations: 492.7 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.2409, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.241, allocations: 3.938 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.241, allocations: 7.938 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.2412, allocations: 23.91 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.2413, allocations: 47.86 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2415, allocations: 19.97 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.456e-05/0.2415, allocations: 19.92 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.2416, allocations: 19.92 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2416, allocations: 8 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.2416, allocations: 7.938 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.2417, allocations: 7.984 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.2417, allocations: 27.86 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.2419, allocations: 47.86 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2419, allocations: 0 / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2419, allocations: 4 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2419, allocations: 0 / 0.7863 GB, free: 10.55 MB / 0.6075 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.0006263/0.2425, allocations: 355.4 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2426, allocations: 12.03 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2426, allocations: 4.844 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2428, allocations: 172.3 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2428, allocations: 4.375 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2428, allocations: 8.359 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.2429, allocations: 65.88 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2429, allocations: 0 / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.243, allocations: 4 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.243, allocations: 4 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.2431, allocations: 19.98 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.2436, allocations: 304.6 kB / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.2437, allocations: 54.62 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.2438, allocations: 28.88 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2438, allocations: 3.938 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.244, allocations: 71.42 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.244, allocations: 0 / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.00023/0.2442, allocations: 101.5 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.2443, allocations: 59.39 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.2444, allocations: 113.8 kB / 0.7876 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2444, allocations: 25.7 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.2445, allocations: 84.14 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.2445, allocations: 27.64 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.2446, allocations: 21.72 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2447, allocations: 326.8 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.2448, allocations: 12 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.2448, allocations: 47.42 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.2449, allocations: 71.36 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2449, allocations: 0 / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001368/0.2451, allocations: 105.7 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2451, allocations: 7.984 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2451, allocations: 0 / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2451, allocations: 8.031 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.2452, allocations: 8 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2452, allocations: 0 / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.2453, allocations: 11.92 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2453, allocations: 4 kB / 0.7883 GB, free: 8.195 MB / 0.6075 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 9.764e-05/0.2454, allocations: 126.4 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2454, allocations: 4 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.2455, allocations: 7.969 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2455, allocations: 8 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2455, allocations: 0 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2455, allocations: 384 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2459, allocations: 366.3 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2459, allocations: 0 / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.2459, allocations: 4 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.246, allocations: 0 / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.246, allocations: 0 / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.246, allocations: 7.938 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.246, allocations: 0 / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.2462, allocations: 191.3 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.2462, allocations: 77.11 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2462, allocations: 0 / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.2463, allocations: 11.92 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2464, allocations: 11.98 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.2464, allocations: 4 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.2464, allocations: 83.28 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.793e-06/0.2464, allocations: 4 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002341/0.2467, allocations: 15.94 kB / 0.7892 GB, free: 7.188 MB / 0.6075 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 9.527e-05/0.2468, allocations: 99.25 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.2469, allocations: 51.91 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2469, allocations: 0 / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.247, allocations: 31.94 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2473, allocations: 8.547 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.2476, allocations: 153.2 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.248, allocations: 0.6917 MB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.248, allocations: 7.984 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.2481, allocations: 11.44 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2481, allocations: 0 / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.003217/0.2513, allocations: 0.7873 MB / 0.791 GB, free: 5.301 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)