Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 115 kB / 16.37 MB, free: 6.016 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.001018/0.001018, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 285.2 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.9323/0.9323, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 93.78 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 86.96 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002393/0.145, allocations: 1.481 MB / 0.683 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.146, allocations: 0.689 MB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1461, allocations: 3.938 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.987e-05/0.1461, allocations: 11.92 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.826e-05/0.1462, allocations: 11.86 kB / 0.6837 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.1471, allocations: 350.1 kB / 0.6841 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1473, allocations: 171.6 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1473, allocations: 7.984 kB / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.1474, allocations: 71.83 kB / 0.6843 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.1475, allocations: 47.81 kB / 0.6844 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.1475, allocations: 12 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.1479, allocations: 251.7 kB / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.1479, allocations: 31.91 kB / 0.6846 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.148, allocations: 71.7 kB / 0.6847 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1484, allocations: 307.3 kB / 0.685 GB, free: 3.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1484, allocations: 0 / 0.685 GB, free: 3.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1484, allocations: 0 / 0.685 GB, free: 3.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1484, allocations: 0 / 0.685 GB, free: 3.969 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005655/0.149, allocations: 467 kB / 0.6854 GB, free: 3.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.149, allocations: 11.97 kB / 0.6855 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1491, allocations: 16.75 kB / 0.6855 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1493, allocations: 214.8 kB / 0.6857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1493, allocations: 8.375 kB / 0.6857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1493, allocations: 12.38 kB / 0.6857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1495, allocations: 88.8 kB / 0.6858 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1495, allocations: 8.172 kB / 0.6858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1495, allocations: 7.938 kB / 0.6858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1495, allocations: 3.938 kB / 0.6858 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.1496, allocations: 43.97 kB / 0.6858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.1499, allocations: 251.3 kB / 0.6861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.15, allocations: 111.8 kB / 0.6862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.1501, allocations: 66.67 kB / 0.6863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1501, allocations: 7.984 kB / 0.6863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1503, allocations: 139.7 kB / 0.6864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1504, allocations: 0 / 0.6864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003825/0.1507, allocations: 218 kB / 0.6866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.1508, allocations: 122.8 kB / 0.6867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1509, allocations: 141.7 kB / 0.6869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.151, allocations: 41.7 kB / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.151, allocations: 92.7 kB / 0.687 GB, free: 1.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.1511, allocations: 55.34 kB / 0.687 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.1512, allocations: 61.69 kB / 0.6871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1513, allocations: 330.8 kB / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.1514, allocations: 44.27 kB / 0.6875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1516, allocations: 177.1 kB / 0.6876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1518, allocations: 138.5 kB / 0.6878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1518, allocations: 4 kB / 0.6878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002844/0.1521, allocations: 201.3 kB / 0.688 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1521, allocations: 6.656 kB / 0.688 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.1521, allocations: 7.984 kB / 0.688 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1521, allocations: 4 kB / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.1522, allocations: 11.94 kB / 0.688 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1522, allocations: 4.234 kB / 0.688 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1524, allocations: 46.75 kB / 0.688 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1525, allocations: 19.97 kB / 0.688 GB, free: 0.5156 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 0.0001064/0.1526, allocations: 136 kB / 0.6882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1526, allocations: 19.75 kB / 0.6882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.1526, allocations: 16.7 kB / 0.6882 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1527, allocations: 4 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1527, allocations: 4 kB / 0.6882 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1527, allocations: 144 / 0.6882 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1528, allocations: 209.5 kB / 0.6884 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1528, allocations: 7.984 kB / 0.6884 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.1529, allocations: 8 kB / 0.6884 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1529, allocations: 4 kB / 0.6884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1529, allocations: 8 kB / 0.6884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1529, allocations: 0 / 0.6884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1529, allocations: 3.938 kB / 0.6885 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2188/0.3717, allocations: 205.6 kB / 0.6886 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.3718, allocations: 94.88 kB / 0.6887 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.3718, allocations: 3.672 kB / 0.6887 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.3719, allocations: 13.58 kB / 0.6888 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.3719, allocations: 8.109 kB / 0.6888 GB, free: 17.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3719, allocations: 4.469 kB / 0.6888 GB, free: 17.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.372, allocations: 109.7 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.372, allocations: 0 / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3724, allocations: 98.97 kB / 0.689 GB, free: 17.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 0.0002784/0.3727, allocations: 203.5 kB / 0.6892 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.373, allocations: 218.4 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.373, allocations: 1.406 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.3731, allocations: 57.25 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3733, allocations: 11.77 kB / 0.6894 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.3737, allocations: 247.9 kB / 0.6897 GB, free: 17.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3738, allocations: 0.7145 MB / 0.6904 GB, free: 16.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.3739, allocations: 11.09 kB / 0.6904 GB, free: 16.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.3739, allocations: 14.69 kB / 0.6904 GB, free: 16.78 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3739, allocations: 1.25 kB / 0.6904 GB, free: 16.78 MB / 494.1 MB Notification: Performance of Templates: time 0.006201/0.3801, allocations: 3.101 MB / 0.6934 GB, free: 16.64 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)