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.007787/0.007787, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001936/0.001936, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6995/0.6995, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 74.05 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002284/0.1405, allocations: 1.474 MB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1416, allocations: 0.6928 MB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.1417, allocations: 4 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.503e-05/0.1418, allocations: 11.88 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.1418, allocations: 15.86 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008907/0.1427, allocations: 342.2 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1429, allocations: 175.6 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.143, allocations: 11.97 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.1431, allocations: 63.84 kB / 0.6619 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.1432, allocations: 51.81 kB / 0.6619 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.1432, allocations: 12 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.1435, allocations: 255.7 kB / 0.6622 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.1436, allocations: 35.91 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.1437, allocations: 63.7 kB / 0.6623 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.144, allocations: 303.3 kB / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.144, allocations: 0 / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.144, allocations: 0 / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1441, allocations: 0 / 0.6626 GB, free: 10.54 MB / 0.4981 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.0005808/0.1446, allocations: 486.4 kB / 0.663 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1447, allocations: 8.031 kB / 0.663 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.1447, allocations: 38.75 kB / 0.6631 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.1448, allocations: 16.84 kB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.145, allocations: 204.2 kB / 0.6633 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.145, allocations: 8.375 kB / 0.6633 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.145, allocations: 12.36 kB / 0.6633 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1452, allocations: 102.6 kB / 0.6634 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1452, allocations: 7.938 kB / 0.6634 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1453, allocations: 8 kB / 0.6634 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1453, allocations: 3.938 kB / 0.6634 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.1454, allocations: 47.91 kB / 0.6635 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1456, allocations: 251.3 kB / 0.6637 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1457, allocations: 115.9 kB / 0.6638 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.1458, allocations: 70.66 kB / 0.6639 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.1459, allocations: 0 / 0.6639 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.1461, allocations: 143.1 kB / 0.664 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.1461, allocations: 4 kB / 0.664 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003714/0.1465, allocations: 209.5 kB / 0.6642 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.1466, allocations: 118.8 kB / 0.6643 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.1467, allocations: 133.8 kB / 0.6645 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1467, allocations: 41.7 kB / 0.6645 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1468, allocations: 100.7 kB / 0.6646 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.1468, allocations: 55.58 kB / 0.6647 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.1469, allocations: 69.62 kB / 0.6647 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.147, allocations: 322.8 kB / 0.665 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.1471, allocations: 56.19 kB / 0.6651 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1473, allocations: 175.8 kB / 0.6653 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1475, allocations: 133.5 kB / 0.6654 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.1475, allocations: 0 / 0.6654 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002713/0.1478, allocations: 207.5 kB / 0.6656 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1478, allocations: 6.344 kB / 0.6656 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.1478, allocations: 4 kB / 0.6656 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1478, allocations: 8 kB / 0.6656 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1479, allocations: 8 kB / 0.6656 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1479, allocations: 4.938 kB / 0.6656 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.1482, allocations: 54.91 kB / 0.6657 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1482, allocations: 8 kB / 0.6657 GB, free: 7.023 MB / 0.4981 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.0001073/0.1483, allocations: 140.6 kB / 0.6658 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1483, allocations: 11.95 kB / 0.6658 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.1484, allocations: 20.7 kB / 0.6658 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1484, allocations: 4 kB / 0.6658 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1484, allocations: 0 / 0.6658 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1484, allocations: 0 / 0.6658 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1486, allocations: 213.4 kB / 0.666 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1486, allocations: 4 kB / 0.666 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.1486, allocations: 11.94 kB / 0.6661 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1486, allocations: 0 / 0.6661 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1486, allocations: 4 kB / 0.6661 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1486, allocations: 0 / 0.6661 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1487, allocations: 0 / 0.6661 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1489, allocations: 219.9 kB / 0.6663 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.149, allocations: 93 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.149, allocations: 8 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.1491, allocations: 11.86 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.1491, allocations: 19.92 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1491, allocations: 8 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.1492, allocations: 99.27 kB / 0.6665 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1492, allocations: 4 kB / 0.6665 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003095/0.1495, allocations: 99.8 kB / 0.6666 GB, free: 5.965 MB / 0.4981 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.0006672/0.1502, allocations: 0.8487 MB / 0.6674 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.1505, allocations: 228.1 kB / 0.6676 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1505, allocations: 0 / 0.6676 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.1506, allocations: 51.92 kB / 0.6677 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.1507, allocations: 15.92 kB / 0.6677 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1524, allocations: 1.839 MB / 0.6695 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1527, allocations: 0.7122 MB / 0.6702 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.1527, allocations: 8.891 kB / 0.6702 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.1528, allocations: 38.38 kB / 0.6702 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1528, allocations: 4 kB / 0.6702 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1727, allocations: 4.573 MB / 0.6747 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.474, allocations: 23.28 kB / 0.6747 GB, free: 13.63 MB / 0.5137 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)