Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.16 kB / 0.5019 GB, free: 8.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1494, allocations: 80.2 MB / 0.5802 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002379/0.1518, allocations: 1.486 MB / 0.5816 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1529, allocations: 0.6978 MB / 0.5823 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1529, allocations: 0 / 0.5823 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.643e-05/0.153, allocations: 3.938 kB / 0.5823 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.1531, allocations: 19.84 kB / 0.5823 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.1539, allocations: 338.8 kB / 0.5827 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1541, allocations: 171.6 kB / 0.5828 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1541, allocations: 7.984 kB / 0.5828 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.1542, allocations: 71.83 kB / 0.5829 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.1543, allocations: 47.77 kB / 0.5829 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.1544, allocations: 12 kB / 0.583 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.1547, allocations: 263.7 kB / 0.5832 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.1548, allocations: 35.91 kB / 0.5832 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.1549, allocations: 63.7 kB / 0.5833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1552, allocations: 295.6 kB / 0.5836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1553, allocations: 0 / 0.5836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1553, allocations: 0 / 0.5836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1553, allocations: 0 / 0.5836 GB, free: 5.207 MB / 494.1 MB 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.000564/0.1558, allocations: 474.9 kB / 0.584 GB, free: 4.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1559, allocations: 16.03 kB / 0.584 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.1559, allocations: 38.69 kB / 0.5841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.156, allocations: 12.84 kB / 0.5841 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1562, allocations: 216 kB / 0.5843 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1562, allocations: 8.359 kB / 0.5843 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.1562, allocations: 16.36 kB / 0.5843 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1564, allocations: 96.8 kB / 0.5844 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1564, allocations: 3.938 kB / 0.5844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1564, allocations: 4 kB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1565, allocations: 4 kB / 0.5844 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.1565, allocations: 43.91 kB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1568, allocations: 247.3 kB / 0.5847 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.1569, allocations: 111.8 kB / 0.5848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.157, allocations: 70.7 kB / 0.5849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1571, allocations: 4 kB / 0.5849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.1573, allocations: 134.7 kB / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.1573, allocations: 4 kB / 0.585 GB, free: 3.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004065/0.1577, allocations: 218.1 kB / 0.5852 GB, free: 3.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.1578, allocations: 122.7 kB / 0.5853 GB, free: 3.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1579, allocations: 143.9 kB / 0.5855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1579, allocations: 33.7 kB / 0.5855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.158, allocations: 96.69 kB / 0.5856 GB, free: 2.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.1581, allocations: 51.36 kB / 0.5857 GB, free: 2.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.1582, allocations: 61.69 kB / 0.5857 GB, free: 2.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1583, allocations: 330.8 kB / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.1584, allocations: 52.25 kB / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1586, allocations: 180.5 kB / 0.5863 GB, free: 2.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.1588, allocations: 137.9 kB / 0.5864 GB, free: 1.992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1588, allocations: 4 kB / 0.5864 GB, free: 1.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002859/0.1591, allocations: 193.3 kB / 0.5866 GB, free: 1.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1591, allocations: 8 kB / 0.5866 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.1591, allocations: 4 kB / 0.5866 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1591, allocations: 0 / 0.5866 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.1592, allocations: 15.94 kB / 0.5866 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1592, allocations: 4.219 kB / 0.5866 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.1595, allocations: 55.8 kB / 0.5867 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1595, allocations: 7.984 kB / 0.5867 GB, free: 1.699 MB / 494.1 MB 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.0001087/0.1596, allocations: 144.8 kB / 0.5868 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.1596, allocations: 15.81 kB / 0.5868 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.1597, allocations: 16.7 kB / 0.5868 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1597, allocations: 0 / 0.5868 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1597, allocations: 7.938 kB / 0.5868 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1597, allocations: 4 kB / 0.5868 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1599, allocations: 213.4 kB / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1599, allocations: 0 / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.1599, allocations: 8 kB / 0.5871 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1599, allocations: 4 kB / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.16, allocations: 4 kB / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.16, allocations: 7.984 kB / 0.5871 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.16, allocations: 0 / 0.5871 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1602, allocations: 211.5 kB / 0.5873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.1603, allocations: 92.86 kB / 0.5874 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1603, allocations: 4 kB / 0.5874 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.1604, allocations: 15.92 kB / 0.5874 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.1604, allocations: 7.984 kB / 0.5874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1605, allocations: 4 kB / 0.5874 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.1605, allocations: 105.5 kB / 0.5875 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1605, allocations: 4 kB / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1609, allocations: 104 kB / 0.5876 GB, free: 0.6484 MB / 494.1 MB 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.0006874/0.1616, allocations: 0.8418 MB / 0.5884 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.1619, allocations: 224.9 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1619, allocations: 0 / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.162, allocations: 63.91 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.1622, allocations: 7.938 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.1639, allocations: 1.819 MB / 0.5905 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1642, allocations: 0.7123 MB / 0.5912 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.1642, allocations: 12.88 kB / 0.5912 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1643, allocations: 31.44 kB / 0.5912 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1643, allocations: 0 / 0.5912 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.1843, allocations: 4.547 MB / 0.5957 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.283, allocations: 17.03 kB / 0.5957 GB, free: 8.359 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)