Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005571/0.005571, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001324/0.001324, allocations: 189.8 kB / 16.67 MB, free: 5.871 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 / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002347/0.002347, allocations: 284.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9104/0.9104, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 91.86 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3663, allocations: 86.97 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002274/0.3687, allocations: 1.484 MB / 0.7678 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3697, allocations: 0.6869 MB / 0.7685 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.3697, allocations: 0 / 0.7685 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.803e-05/0.3698, allocations: 11.86 kB / 0.7685 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.3699, allocations: 11.88 kB / 0.7685 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008476/0.3707, allocations: 351.8 kB / 0.7688 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3709, allocations: 179.6 kB / 0.769 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.371, allocations: 4 kB / 0.769 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.3711, allocations: 71.83 kB / 0.7691 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.3711, allocations: 51.75 kB / 0.7691 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3712, allocations: 12 kB / 0.7691 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.3715, allocations: 247.8 kB / 0.7694 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.3716, allocations: 35.91 kB / 0.7694 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.3717, allocations: 71.69 kB / 0.7695 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.372, allocations: 308.8 kB / 0.7698 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3721, allocations: 0 / 0.7698 GB, free: 424 kB / 0.5294 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3721, allocations: 0 / 0.7698 GB, free: 424 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3721, allocations: 0 / 0.7698 GB, free: 424 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.0005574/0.3726, allocations: 478.5 kB / 0.7702 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.3727, allocations: 12.03 kB / 0.7702 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.3727, allocations: 12.84 kB / 0.7703 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3729, allocations: 212.2 kB / 0.7705 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.373, allocations: 12.38 kB / 0.7705 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.373, allocations: 12.38 kB / 0.7705 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3731, allocations: 99.39 kB / 0.7706 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3732, allocations: 192 / 0.7706 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3732, allocations: 7.938 kB / 0.7706 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3732, allocations: 0 / 0.7706 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.3733, allocations: 47.91 kB / 0.7706 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.3735, allocations: 251.4 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3737, allocations: 107.9 kB / 0.771 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.3738, allocations: 78.67 kB / 0.771 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.3738, allocations: 0 / 0.771 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.374, allocations: 138.7 kB / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.374, allocations: 0 / 0.7712 GB, free: 14.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0003716/0.3744, allocations: 218.1 kB / 0.7714 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.3744, allocations: 114.8 kB / 0.7715 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3746, allocations: 145.8 kB / 0.7716 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3746, allocations: 33.7 kB / 0.7717 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3746, allocations: 96.7 kB / 0.7718 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.3747, allocations: 63.55 kB / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.3748, allocations: 53.7 kB / 0.7719 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3749, allocations: 334.8 kB / 0.7722 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.375, allocations: 52.27 kB / 0.7722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3752, allocations: 176.5 kB / 0.7724 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3754, allocations: 134.5 kB / 0.7725 GB, free: 13.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3754, allocations: 7.938 kB / 0.7725 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003476/0.3758, allocations: 201.3 kB / 0.7727 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3758, allocations: 4 kB / 0.7727 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3758, allocations: 4 kB / 0.7727 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3758, allocations: 7.984 kB / 0.7727 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.3759, allocations: 12 kB / 0.7728 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.376, allocations: 4 kB / 0.7728 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3762, allocations: 51.02 kB / 0.7728 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3762, allocations: 8.234 kB / 0.7728 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.0001183/0.3763, allocations: 146.6 kB / 0.773 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.3763, allocations: 15.84 kB / 0.773 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3764, allocations: 16.66 kB / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3764, allocations: 4 kB / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3764, allocations: 0 / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3764, allocations: 3.984 kB / 0.773 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3766, allocations: 205.5 kB / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3766, allocations: 0 / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.3766, allocations: 27.92 kB / 0.7732 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3766, allocations: 0 / 0.7732 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3766, allocations: 4 kB / 0.7732 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3766, allocations: 0 / 0.7732 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3767, allocations: 4 kB / 0.7732 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3769, allocations: 216.5 kB / 0.7734 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.377, allocations: 93.02 kB / 0.7735 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.377, allocations: 4 kB / 0.7735 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.3771, allocations: 11.88 kB / 0.7735 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.3771, allocations: 7.984 kB / 0.7735 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3771, allocations: 8 kB / 0.7736 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.3772, allocations: 110.2 kB / 0.7737 GB, free: 12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3772, allocations: 3.938 kB / 0.7737 GB, free: 12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003152/0.3775, allocations: 103.7 kB / 0.7738 GB, free: 11.89 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.0002609/0.3778, allocations: 199 kB / 0.774 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3781, allocations: 217 kB / 0.7742 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3781, allocations: 0 / 0.7742 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.3782, allocations: 59.91 kB / 0.7742 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.3783, allocations: 11.98 kB / 0.7742 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.3787, allocations: 244.5 kB / 0.7745 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.379, allocations: 0.7084 MB / 0.7752 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.379, allocations: 17.14 kB / 0.7752 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.3791, allocations: 15.44 kB / 0.7752 GB, free: 10.35 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3791, allocations: 0 / 0.7752 GB, free: 10.35 MB / 0.545 GB Notification: Performance of Templates: time 0.005398/0.3845, allocations: 3.101 MB / 0.7782 GB, free: 7.309 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)