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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001069/0.001069, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001033/0.001033, allocations: 195.8 kB / 16.14 MB, free: 6.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 282.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 95.27 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1443, allocations: 86.98 MB / 0.6794 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00241/0.1467, allocations: 1.523 MB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005997/0.1473, allocations: 437.1 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.1474, allocations: 0.625 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1474, allocations: 11.14 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.1475, allocations: 0 / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.1476, allocations: 27.86 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.1477, allocations: 47.86 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.1478, allocations: 19.97 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.1479, allocations: 19.88 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.1479, allocations: 19.91 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1479, allocations: 5.312 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.148, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.148, allocations: 11.98 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.148, allocations: 20.53 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.66e-05/0.1481, allocations: 44.08 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1481, allocations: 4.875 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1481, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1481, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 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.0004448/0.1486, allocations: 364.8 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1486, allocations: 9.656 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1487, allocations: 8.844 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1488, allocations: 164.4 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1488, allocations: 384 / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1488, allocations: 12.38 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.149, allocations: 65.92 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.149, allocations: 0 / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.149, allocations: 0 / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.149, allocations: 0 / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.1491, allocations: 27.98 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.1495, allocations: 304.6 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1496, allocations: 58.58 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.1497, allocations: 20.92 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1497, allocations: 0 / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.1498, allocations: 79.34 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.1498, allocations: 0 / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002359/0.1501, allocations: 109.5 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1501, allocations: 51.41 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.1502, allocations: 109.8 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1503, allocations: 29.7 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.1503, allocations: 88.12 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.1503, allocations: 23.66 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1504, allocations: 29.7 kB / 0.6831 GB, free: 13.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1505, allocations: 318.8 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.1506, allocations: 23.98 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.1507, allocations: 47.42 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.1508, allocations: 67.38 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1508, allocations: 0 / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001512/0.1509, allocations: 93.55 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1509, allocations: 12.03 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.151, allocations: 0 / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.151, allocations: 0 / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.151, allocations: 11.98 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1511, allocations: 4 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.1511, allocations: 7.906 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1512, allocations: 8 kB / 0.6836 GB, free: 12.69 MB / 494.1 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 8.469e-05/0.1513, allocations: 127 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.1513, allocations: 8 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.1513, allocations: 7.969 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1513, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1513, allocations: 0 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1513, allocations: 288 / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1517, allocations: 366.3 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1517, allocations: 3.938 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.1518, allocations: 8.453 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1518, allocations: 7.984 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1518, allocations: 0 / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1518, allocations: 3.938 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1518, allocations: 0 / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.152, allocations: 183.4 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.152, allocations: 85.02 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.152, allocations: 4 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1521, allocations: 11.92 kB / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1522, allocations: 8 kB / 0.6844 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1522, allocations: 8.047 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.1522, allocations: 87.22 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1522, allocations: 0 / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1525, allocations: 12 kB / 0.6845 GB, free: 11.68 MB / 494.1 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 8.421e-05/0.1525, allocations: 103.2 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1527, allocations: 55.91 kB / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1527, allocations: 0 / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.1527, allocations: 28 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.153, allocations: 14.23 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.1533, allocations: 155.3 kB / 0.6848 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.1536, allocations: 0.6861 MB / 0.6855 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.753e-05/0.1536, allocations: 11.94 kB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1536, allocations: 15.42 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1536, allocations: 0 / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Templates: time 0.002527/0.1562, allocations: 0.6915 MB / 0.6862 GB, free: 9.867 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)