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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.004603/0.004603, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001266/0.001266, allocations: 198.8 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.365/1.365, 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.002472/0.002472, allocations: 284.3 kB / 290.8 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.167/1.167, allocations: 178.6 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 91.84 kB / 0.6943 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3552, allocations: 89.13 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001989/0.3572, allocations: 1.478 MB / 0.7827 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3584, allocations: 0.6926 MB / 0.7834 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.3584, allocations: 1.094 kB / 0.7834 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.878e-05/0.3585, allocations: 13.14 kB / 0.7834 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.3586, allocations: 15.2 kB / 0.7835 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.3595, allocations: 343.5 kB / 0.7838 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.3597, allocations: 167.4 kB / 0.7839 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.3598, allocations: 17.47 kB / 0.784 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.3598, allocations: 68.78 kB / 0.784 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.3599, allocations: 52.45 kB / 0.7841 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.36, allocations: 12.22 kB / 0.7841 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.3603, allocations: 247 kB / 0.7843 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.3604, allocations: 38.58 kB / 0.7844 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.721e-05/0.3605, allocations: 64.7 kB / 0.7844 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.3609, allocations: 304.9 kB / 0.7847 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.3609, allocations: 4 kB / 0.7847 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3609, allocations: 1.281 kB / 0.7847 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.361, allocations: 0 / 0.7847 GB, free: 14.62 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.0006703/0.3616, allocations: 487.8 kB / 0.7852 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3617, allocations: 9.156 kB / 0.7852 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3617, allocations: 41.55 kB / 0.7852 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.3618, allocations: 11.83 kB / 0.7852 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.362, allocations: 213 kB / 0.7854 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.362, allocations: 16.78 kB / 0.7855 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3621, allocations: 8.531 kB / 0.7855 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3623, allocations: 95.2 kB / 0.7856 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3623, allocations: 3.938 kB / 0.7856 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3623, allocations: 1.25 kB / 0.7856 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3623, allocations: 1.062 kB / 0.7856 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.3624, allocations: 50.28 kB / 0.7856 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.3627, allocations: 243.5 kB / 0.7858 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3629, allocations: 112.2 kB / 0.7859 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.363, allocations: 66.67 kB / 0.786 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.363, allocations: 5.312 kB / 0.786 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3633, allocations: 148 kB / 0.7862 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.3633, allocations: 1.188 kB / 0.7862 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0004234/0.3637, allocations: 209 kB / 0.7864 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.3638, allocations: 117.4 kB / 0.7865 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3639, allocations: 149.6 kB / 0.7866 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.364, allocations: 34.42 kB / 0.7866 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.3641, allocations: 98.61 kB / 0.7867 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.3641, allocations: 62.78 kB / 0.7868 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.3642, allocations: 56.02 kB / 0.7869 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3644, allocations: 331.1 kB / 0.7872 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.3645, allocations: 49.45 kB / 0.7872 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3647, allocations: 184.5 kB / 0.7874 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.365, allocations: 132.5 kB / 0.7875 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.365, allocations: 5.156 kB / 0.7875 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003068/0.3653, allocations: 204.6 kB / 0.7877 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3653, allocations: 5.562 kB / 0.7877 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.3653, allocations: 7.5 kB / 0.7877 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3654, allocations: 10.16 kB / 0.7877 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.3654, allocations: 14.31 kB / 0.7878 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3655, allocations: 5.094 kB / 0.7878 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3657, allocations: 50 kB / 0.7878 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3657, allocations: 7.719 kB / 0.7878 GB, free: 11.88 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.0001298/0.3658, allocations: 146 kB / 0.788 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3659, allocations: 12.53 kB / 0.788 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3659, allocations: 12.25 kB / 0.788 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3659, allocations: 1.25 kB / 0.788 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3659, allocations: 5.281 kB / 0.788 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3659, allocations: 5.047 kB / 0.788 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3661, allocations: 205.9 kB / 0.7882 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3662, allocations: 1.156 kB / 0.7882 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.3662, allocations: 12.48 kB / 0.7882 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3662, allocations: 5.25 kB / 0.7882 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3662, allocations: 2.656 kB / 0.7882 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3662, allocations: 1.312 kB / 0.7882 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3662, allocations: 1.25 kB / 0.7882 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3666, allocations: 217 kB / 0.7884 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.3667, allocations: 89.61 kB / 0.7885 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.3667, allocations: 9.938 kB / 0.7885 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.3668, allocations: 7.656 kB / 0.7885 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.3668, allocations: 12.48 kB / 0.7885 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3668, allocations: 4.25 kB / 0.7885 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.3669, allocations: 108.4 kB / 0.7886 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3669, allocations: 0 / 0.7886 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000335/0.3673, allocations: 106.7 kB / 0.7887 GB, free: 11.08 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.0007943/0.3681, allocations: 0.842 MB / 0.7896 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.3684, allocations: 224.6 kB / 0.7898 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3684, allocations: 0 / 0.7898 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.3685, allocations: 53.3 kB / 0.7898 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.3687, allocations: 19.06 kB / 0.7898 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.3708, allocations: 1.819 MB / 0.7916 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3712, allocations: 0.7177 MB / 0.7923 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.3712, allocations: 12.66 kB / 0.7923 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.3713, allocations: 34.14 kB / 0.7924 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.3713, allocations: 0 / 0.7924 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3962, allocations: 4.623 MB / 0.7969 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.151, allocations: 5.75 kB / 0.7969 GB, free: 5.625 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)