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.001242/0.001242, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001297/0.001297, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 288 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8869/0.8869, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 98.28 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1517, allocations: 86.96 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002765/0.1545, allocations: 1.474 MB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.1552, allocations: 438.9 kB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.1553, allocations: 0 / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.1553, allocations: 7.922 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.1554, allocations: 11.92 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.1556, allocations: 19.98 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.1557, allocations: 55.78 kB / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.1558, allocations: 11.98 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.1558, allocations: 15.98 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.1559, allocations: 27.84 kB / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1559, allocations: 4 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.1559, allocations: 8 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1559, allocations: 11.98 kB / 0.6836 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.156, allocations: 27.8 kB / 0.6836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.1561, allocations: 55.73 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1561, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1561, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1561, allocations: 0 / 0.6837 GB, free: 5.281 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.0004591/0.1566, allocations: 359.4 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1566, allocations: 12.03 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.1566, allocations: 0.9375 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1568, allocations: 168.3 kB / 0.6842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1568, allocations: 8.375 kB / 0.6842 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1568, allocations: 4.375 kB / 0.6842 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.1569, allocations: 61.92 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.1569, allocations: 0 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.157, allocations: 3.938 kB / 0.6843 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.157, allocations: 8 kB / 0.6843 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.157, allocations: 23.98 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.1575, allocations: 296.7 kB / 0.6846 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.1576, allocations: 55.33 kB / 0.6847 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.1576, allocations: 24.95 kB / 0.6847 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1577, allocations: 4 kB / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1578, allocations: 79.31 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.1578, allocations: 0 / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002056/0.158, allocations: 97.89 kB / 0.6849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1581, allocations: 55.41 kB / 0.6849 GB, free: 3.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.1582, allocations: 105.8 kB / 0.685 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1582, allocations: 37.64 kB / 0.685 GB, free: 3.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.1582, allocations: 84.14 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1583, allocations: 27.64 kB / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1583, allocations: 29.7 kB / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1584, allocations: 322.8 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/0.1585, allocations: 15.98 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.1585, allocations: 43.42 kB / 0.6855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.1586, allocations: 67.38 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1586, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001376/0.1588, allocations: 97.78 kB / 0.6857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1588, allocations: 10.44 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1588, allocations: 0 / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1588, allocations: 4 kB / 0.6857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.1589, allocations: 16.05 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1589, allocations: 0 / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.159, allocations: 15.94 kB / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.159, allocations: 4 kB / 0.6857 GB, free: 2.938 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.496e-05/0.1591, allocations: 130.7 kB / 0.6859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.1591, allocations: 4 kB / 0.6859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.1591, allocations: 7.969 kB / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1591, allocations: 0 / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1592, allocations: 4 kB / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1592, allocations: 0 / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.1595, allocations: 362.3 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1595, allocations: 0 / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.1596, allocations: 7.984 kB / 0.6862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1596, allocations: 0 / 0.6862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.1596, allocations: 4 kB / 0.6862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1596, allocations: 3.938 kB / 0.6862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1596, allocations: 7.984 kB / 0.6863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1598, allocations: 183.5 kB / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.1598, allocations: 85.02 kB / 0.6865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1598, allocations: 0 / 0.6865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.1599, allocations: 11.92 kB / 0.6865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.16, allocations: 4 kB / 0.6865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.16, allocations: 8 kB / 0.6865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.16, allocations: 83.27 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.16, allocations: 0 / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1603, allocations: 16 kB / 0.6866 GB, free: 1.934 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 9.165e-05/0.1604, allocations: 103.2 kB / 0.6867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1605, allocations: 55.91 kB / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1605, allocations: 0 / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.772e-05/0.1606, allocations: 20 kB / 0.6868 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1608, allocations: 15.98 kB / 0.6868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.1611, allocations: 152.3 kB / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1614, allocations: 0.6894 MB / 0.6876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.1614, allocations: 7.938 kB / 0.6876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1614, allocations: 11.44 kB / 0.6877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1614, allocations: 0 / 0.6877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of Templates: time 0.00279/0.1642, allocations: 0.7818 MB / 0.6884 GB, free: 52 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)