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.003946/0.003947, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001176/0.001177, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 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.002543/0.002543, allocations: 295.2 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 1.157/1.157, allocations: 178.6 MB / 0.5074 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 100.2 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3566, allocations: 89.12 MB / 0.7813 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002147/0.3588, allocations: 1.491 MB / 0.7828 GB, free: 100 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.36, allocations: 0.6859 MB / 0.7834 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.3601, allocations: 0 / 0.7834 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/0.3602, allocations: 5.156 kB / 0.7834 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.3603, allocations: 18.34 kB / 0.7835 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.3613, allocations: 359.9 kB / 0.7838 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3615, allocations: 167.8 kB / 0.784 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.3616, allocations: 16.08 kB / 0.784 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.3617, allocations: 62.31 kB / 0.784 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3618, allocations: 56.84 kB / 0.7841 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.3618, allocations: 10.88 kB / 0.7841 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.3622, allocations: 250.3 kB / 0.7843 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.3623, allocations: 38.45 kB / 0.7844 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.3624, allocations: 66.59 kB / 0.7844 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3629, allocations: 304.8 kB / 0.7847 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3629, allocations: 0 / 0.7847 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3629, allocations: 0 / 0.7847 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3629, allocations: 0 / 0.7847 GB, free: 14.75 MB / 0.5606 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.0006962/0.3636, allocations: 484.1 kB / 0.7852 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3637, allocations: 14.7 kB / 0.7852 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.3637, allocations: 36.16 kB / 0.7852 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.3638, allocations: 16.11 kB / 0.7853 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.364, allocations: 212.9 kB / 0.7855 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.364, allocations: 8.875 kB / 0.7855 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3641, allocations: 7.844 kB / 0.7855 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3643, allocations: 96.23 kB / 0.7856 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3643, allocations: 7.922 kB / 0.7856 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3643, allocations: 0 / 0.7856 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3643, allocations: 5.219 kB / 0.7856 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.3644, allocations: 50.06 kB / 0.7856 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.3647, allocations: 236.1 kB / 0.7858 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3649, allocations: 112.4 kB / 0.786 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.365, allocations: 70.98 kB / 0.786 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.365, allocations: 9.406 kB / 0.786 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.3653, allocations: 138.5 kB / 0.7862 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 3.868e-06/0.3653, allocations: 0 / 0.7862 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0004355/0.3657, allocations: 222.1 kB / 0.7864 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.3658, allocations: 118.4 kB / 0.7865 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3659, allocations: 141.4 kB / 0.7866 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.366, allocations: 39.3 kB / 0.7867 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.3661, allocations: 93.48 kB / 0.7868 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.3661, allocations: 59.86 kB / 0.7868 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.3662, allocations: 64.19 kB / 0.7869 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3664, allocations: 323.4 kB / 0.7872 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.702e-05/0.3665, allocations: 53.39 kB / 0.7872 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3667, allocations: 184.4 kB / 0.7874 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3669, allocations: 140.3 kB / 0.7875 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.367, allocations: 1.094 kB / 0.7875 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003123/0.3673, allocations: 204.9 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3673, allocations: 6.844 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.3673, allocations: 8.234 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3673, allocations: 2.438 kB / 0.7878 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.3674, allocations: 17.25 kB / 0.7878 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3674, allocations: 2.156 kB / 0.7878 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3677, allocations: 49.97 kB / 0.7878 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3677, allocations: 9.234 kB / 0.7878 GB, free: 12 MB / 0.5606 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.0001309/0.3678, allocations: 146.3 kB / 0.788 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3679, allocations: 13.56 kB / 0.788 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.3679, allocations: 18.98 kB / 0.788 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3679, allocations: 2.25 kB / 0.788 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3679, allocations: 1.094 kB / 0.788 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3679, allocations: 1.219 kB / 0.788 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3681, allocations: 209.7 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3682, allocations: 5.188 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.3682, allocations: 8.781 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3682, allocations: 1.344 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3682, allocations: 2.469 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3682, allocations: 1.125 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3682, allocations: 1.062 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3685, allocations: 217.9 kB / 0.7884 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.3686, allocations: 89.55 kB / 0.7885 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3686, allocations: 6.312 kB / 0.7885 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.3687, allocations: 10.39 kB / 0.7885 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3688, allocations: 12.66 kB / 0.7885 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3688, allocations: 8.641 kB / 0.7886 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.3689, allocations: 103 kB / 0.7886 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3689, allocations: 0 / 0.7886 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003615/0.3692, allocations: 105.7 kB / 0.7887 GB, free: 11.2 MB / 0.5606 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.0008022/0.37, allocations: 0.8431 MB / 0.7896 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.3704, allocations: 220.7 kB / 0.7898 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3704, allocations: 4 kB / 0.7898 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.3705, allocations: 52.67 kB / 0.7898 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.3707, allocations: 11.34 kB / 0.7898 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3726, allocations: 1.828 MB / 0.7916 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3729, allocations: 0.7133 MB / 0.7923 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.373, allocations: 12.69 kB / 0.7923 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3731, allocations: 33.89 kB / 0.7924 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.3731, allocations: 0 / 0.7924 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.3985, allocations: 4.633 MB / 0.7969 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.158, allocations: 3.438 kB / 0.7969 GB, free: 5.738 MB / 0.5606 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)