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.001229/0.001229, allocations: 102.7 kB / 16.36 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.002027/0.002027, allocations: 71.03 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2537, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002688/0.2565, allocations: 1.484 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.2572, allocations: 483.7 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.2573, allocations: 0 / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.2573, allocations: 3.938 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.2574, allocations: 3.938 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.2576, allocations: 31.83 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.2577, allocations: 59.84 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2578, allocations: 8 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.2578, allocations: 19.98 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.2579, allocations: 23.8 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2579, allocations: 4 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.2579, allocations: 4 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.258, allocations: 15.97 kB / 0.7869 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.258, allocations: 27.86 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.412e-05/0.2581, allocations: 35.89 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2581, allocations: 8 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2581, allocations: 0 / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2581, allocations: 0 / 0.7869 GB, free: 0.9883 MB / 0.6544 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.0004858/0.2586, allocations: 355.4 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2587, allocations: 12.03 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.2587, allocations: 4.844 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2589, allocations: 176.3 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2589, allocations: 384 / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.2589, allocations: 8.375 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.259, allocations: 61.94 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.259, allocations: 3.938 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.259, allocations: 4 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2591, allocations: 3.984 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.2591, allocations: 23.98 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.345/0.6041, allocations: 300.9 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.6043, allocations: 55.09 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.6043, allocations: 29.8 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.6043, allocations: 2.719 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.6045, allocations: 69.2 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.325e-06/0.6045, allocations: 4.562 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002133/0.6047, allocations: 98.8 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.6048, allocations: 55.97 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.6048, allocations: 106.5 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.6048, allocations: 31.52 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.6049, allocations: 87.38 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.6049, allocations: 27.09 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.6049, allocations: 26.97 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.605, allocations: 321 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.605, allocations: 18.84 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.6051, allocations: 48.92 kB / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.6052, allocations: 69.19 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6052, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001192/0.6053, allocations: 93.66 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6053, allocations: 11.22 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6053, allocations: 0 / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6053, allocations: 0 / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.6054, allocations: 10.16 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6054, allocations: 8.938 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.6055, allocations: 8.5 kB / 0.789 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6055, allocations: 7.469 kB / 0.789 GB, free: 47.9 MB / 0.6544 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.078e-05/0.6056, allocations: 125.4 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.6056, allocations: 6.562 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.6056, allocations: 6.906 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6056, allocations: 0 / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6056, allocations: 2.625 kB / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6057, allocations: 0 / 0.7891 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.606, allocations: 369.6 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.606, allocations: 0 / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.606, allocations: 3.156 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.606, allocations: 7.844 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.606, allocations: 0 / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.606, allocations: 0.625 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.606, allocations: 1.406 kB / 0.7895 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.6062, allocations: 189.6 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.6062, allocations: 80.27 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6062, allocations: 0 / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.6063, allocations: 11.7 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.6063, allocations: 10.81 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6064, allocations: 4.188 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.094e-05/0.6064, allocations: 81.91 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6064, allocations: 0 / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002262/0.6066, allocations: 17.56 kB / 0.7899 GB, free: 47.18 MB / 0.6544 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.773e-05/0.6067, allocations: 103.2 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.6068, allocations: 51.34 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6068, allocations: 0.5938 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.6069, allocations: 28.38 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.6072, allocations: 18.23 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.6074, allocations: 168.4 kB / 0.7902 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.6076, allocations: 0.6854 MB / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.6076, allocations: 14.69 kB / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6076, allocations: 0 / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.00196/0.6096, allocations: 0.8627 MB / 0.7917 GB, free: 46.23 MB / 0.6544 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)