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.001322/0.001322, allocations: 109.1 kB / 16.41 MB, free: 6.52 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.001249/0.001249, allocations: 188 kB / 17.34 MB, free: 5.738 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002583, allocations: 294.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004405/0.004405, allocations: 99.83 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.463, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002516/0.4656, allocations: 1.475 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4667, allocations: 0.6985 MB / 0.7691 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.4668, allocations: 3.938 kB / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.145e-05/0.4668, allocations: 7.922 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.4669, allocations: 11.88 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009128/0.4678, allocations: 352 kB / 0.7695 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.4681, allocations: 175.6 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.4681, allocations: 0 / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.4682, allocations: 75.81 kB / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.4683, allocations: 51.77 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.4683, allocations: 12 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.4687, allocations: 247.7 kB / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.4687, allocations: 39.89 kB / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.068e-05/0.4688, allocations: 55.72 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.4692, allocations: 304.8 kB / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4692, allocations: 4 kB / 0.7704 GB, free: 420 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4692, allocations: 4 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4692, allocations: 0 / 0.7704 GB, free: 416 kB / 0.5294 GB 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.0006735/0.4699, allocations: 478.5 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4699, allocations: 8.031 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.47, allocations: 16.84 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.4703, allocations: 216.1 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4703, allocations: 8.375 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.4703, allocations: 8.375 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.4705, allocations: 103.1 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4705, allocations: 192 / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4705, allocations: 7.922 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.4705, allocations: 7.938 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.4706, allocations: 39.98 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.4709, allocations: 243.4 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.4711, allocations: 107.9 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.4712, allocations: 58.67 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.4712, allocations: 7.984 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.4714, allocations: 142.5 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.183e-06/0.4714, allocations: 0 / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0004369/0.4719, allocations: 226 kB / 0.772 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.472, allocations: 114.8 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.4721, allocations: 141.8 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.4722, allocations: 37.7 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.4722, allocations: 100.7 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4723, allocations: 59.55 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.4724, allocations: 61.69 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4726, allocations: 326.8 kB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.4727, allocations: 52.27 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.4729, allocations: 178.1 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.4731, allocations: 134.5 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4731, allocations: 0 / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003269/0.4735, allocations: 209.3 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4735, allocations: 4 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.4735, allocations: 7.984 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4735, allocations: 4 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.4736, allocations: 15.94 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4736, allocations: 0 / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.4738, allocations: 47.84 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4738, allocations: 8 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB 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.0001448/0.474, allocations: 146.4 kB / 0.7736 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.474, allocations: 15.84 kB / 0.7736 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.474, allocations: 20.72 kB / 0.7736 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.474, allocations: 11.98 kB / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4741, allocations: 0 / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4741, allocations: 0 / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.4742, allocations: 201.5 kB / 0.7738 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4743, allocations: 0 / 0.7738 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.4743, allocations: 11.98 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4743, allocations: 4 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4743, allocations: 0 / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4743, allocations: 4 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4743, allocations: 4 kB / 0.7739 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.4746, allocations: 220.6 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.4747, allocations: 89.02 kB / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.4747, allocations: 0 / 0.7742 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.4748, allocations: 11.92 kB / 0.7742 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4748, allocations: 12 kB / 0.7742 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.4748, allocations: 11.92 kB / 0.7742 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.4749, allocations: 106.2 kB / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4749, allocations: 0 / 0.7743 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003544/0.4753, allocations: 107.7 kB / 0.7744 GB, free: 11.9 MB / 0.545 GB 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.0003145/0.4756, allocations: 203 kB / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.4759, allocations: 209 kB / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4759, allocations: 0 / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-05/0.476, allocations: 51.92 kB / 0.7748 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.4762, allocations: 11.98 kB / 0.7749 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.4766, allocations: 240.6 kB / 0.7751 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.477, allocations: 0.7083 MB / 0.7758 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.4771, allocations: 16.88 kB / 0.7758 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4771, allocations: 19.44 kB / 0.7758 GB, free: 10.37 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4771, allocations: 0 / 0.7758 GB, free: 10.37 MB / 0.545 GB Notification: Performance of Templates: time 0.006742/0.4838, allocations: 3.104 MB / 0.7788 GB, free: 7.328 MB / 0.545 GB 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)