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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004423/0.004423, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001156/0.001156, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 301.4 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8845/0.8845, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 91.84 kB / 0.6809 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002338/0.36, allocations: 1.484 MB / 0.7673 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3611, allocations: 0.6947 MB / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.3612, allocations: 0 / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.841e-05/0.3613, allocations: 7.922 kB / 0.768 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.3614, allocations: 15.81 kB / 0.768 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.3623, allocations: 352.2 kB / 0.7684 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.3626, allocations: 163.8 kB / 0.7685 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.3626, allocations: 8 kB / 0.7685 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.3627, allocations: 75.81 kB / 0.7686 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.3628, allocations: 51.7 kB / 0.7686 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3628, allocations: 12 kB / 0.7687 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.3632, allocations: 247.8 kB / 0.7689 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.3632, allocations: 39.89 kB / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.3633, allocations: 63.7 kB / 0.769 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.3637, allocations: 308.2 kB / 0.7693 GB, free: 360 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3637, allocations: 4 kB / 0.7693 GB, free: 356 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3637, allocations: 0 / 0.7693 GB, free: 356 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3638, allocations: 0 / 0.7693 GB, free: 356 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.0005928/0.3643, allocations: 478.5 kB / 0.7697 GB, free: 15.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3644, allocations: 12.03 kB / 0.7698 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.3644, allocations: 38.73 kB / 0.7698 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.3645, allocations: 16.84 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3647, allocations: 212.2 kB / 0.77 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3647, allocations: 8.375 kB / 0.77 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3648, allocations: 12.38 kB / 0.77 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3649, allocations: 103.2 kB / 0.7701 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3649, allocations: 3.938 kB / 0.7701 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.365, allocations: 0 / 0.7701 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.365, allocations: 4 kB / 0.7701 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.3651, allocations: 43.97 kB / 0.7702 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.3653, allocations: 251.3 kB / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3655, allocations: 99.89 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.89e-05/0.3656, allocations: 74.64 kB / 0.7706 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3656, allocations: 12 kB / 0.7706 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.3658, allocations: 130.8 kB / 0.7707 GB, free: 14.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 2.524e-06/0.3658, allocations: 3.938 kB / 0.7707 GB, free: 14.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0003861/0.3662, allocations: 221.3 kB / 0.7709 GB, free: 14.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.3663, allocations: 114.8 kB / 0.771 GB, free: 14.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3664, allocations: 145.8 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.3665, allocations: 37.69 kB / 0.7712 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.3665, allocations: 96.64 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.3666, allocations: 55.62 kB / 0.7714 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.3667, allocations: 61.69 kB / 0.7714 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3668, allocations: 326.8 kB / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.464e-05/0.3669, allocations: 52.25 kB / 0.7718 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3671, allocations: 189.3 kB / 0.772 GB, free: 13.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3673, allocations: 126.5 kB / 0.7721 GB, free: 13.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3673, allocations: 4 kB / 0.7721 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002828/0.3676, allocations: 202.1 kB / 0.7723 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3676, allocations: 8 kB / 0.7723 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.3676, allocations: 4 kB / 0.7723 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3676, allocations: 0 / 0.7723 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3677, allocations: 23.92 kB / 0.7723 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3677, allocations: 0 / 0.7723 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.3679, allocations: 47.84 kB / 0.7724 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.368, allocations: 7.938 kB / 0.7724 GB, free: 12.84 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.0001123/0.3681, allocations: 159.6 kB / 0.7725 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.3681, allocations: 11.91 kB / 0.7725 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.3681, allocations: 12.72 kB / 0.7725 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3682, allocations: 0 / 0.7725 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3682, allocations: 4 kB / 0.7726 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3682, allocations: 0 / 0.7726 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.3683, allocations: 209.5 kB / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3683, allocations: 0 / 0.7728 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.3684, allocations: 8 kB / 0.7728 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3684, allocations: 4 kB / 0.7728 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3684, allocations: 11.98 kB / 0.7728 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3684, allocations: 7.938 kB / 0.7728 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3684, allocations: 0 / 0.7728 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3687, allocations: 208.7 kB / 0.773 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.3687, allocations: 89.02 kB / 0.7731 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.3688, allocations: 7.984 kB / 0.7731 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.3688, allocations: 19.88 kB / 0.7731 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3689, allocations: 7.984 kB / 0.7731 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.3689, allocations: 8 kB / 0.7731 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.369, allocations: 106.2 kB / 0.7732 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.369, allocations: 0 / 0.7732 GB, free: 11.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000334/0.3693, allocations: 107.7 kB / 0.7733 GB, free: 11.79 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.0006543/0.37, allocations: 0.8402 MB / 0.7741 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.3703, allocations: 220.9 kB / 0.7743 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3703, allocations: 4 kB / 0.7743 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.3704, allocations: 59.91 kB / 0.7744 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.3706, allocations: 16.06 kB / 0.7744 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3723, allocations: 1.818 MB / 0.7762 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3725, allocations: 0.7084 MB / 0.7769 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.3726, allocations: 17.14 kB / 0.7769 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.3726, allocations: 31.44 kB / 0.7769 GB, free: 7.895 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.3726, allocations: 0 / 0.7769 GB, free: 7.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.3929, allocations: 4.64 MB / 0.7815 GB, free: 3.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/7.169, allocations: 8.953 kB / 0.7815 GB, free: 3.469 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)