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.007465/0.007465, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001702/0.001702, allocations: 190.1 kB / 16.67 MB, free: 5.48 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7544/0.7544, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 60.5 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1351, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002549/0.1377, allocations: 1.481 MB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1389, allocations: 0.6928 MB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.139, allocations: 0 / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.897e-05/0.1391, allocations: 15.88 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.1392, allocations: 15.84 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009983/0.1402, allocations: 349.1 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.1404, allocations: 167.6 kB / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1405, allocations: 7.984 kB / 0.6618 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.1406, allocations: 67.89 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1407, allocations: 59.75 kB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1407, allocations: 12 kB / 0.6619 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.1411, allocations: 247.8 kB / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.1412, allocations: 39.89 kB / 0.6622 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.1413, allocations: 59.72 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.1417, allocations: 307.3 kB / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1417, allocations: 0 / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.1417, allocations: 0 / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1417, allocations: 3.938 kB / 0.6626 GB, free: 7.277 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.0006309/0.1424, allocations: 482.5 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1424, allocations: 12.02 kB / 0.663 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1425, allocations: 34.75 kB / 0.6631 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.1425, allocations: 16.84 kB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1428, allocations: 204.2 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1428, allocations: 4.375 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1428, allocations: 16.38 kB / 0.6633 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.143, allocations: 106.6 kB / 0.6634 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.143, allocations: 3.938 kB / 0.6634 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.143, allocations: 3.984 kB / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.143, allocations: 4 kB / 0.6634 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.1431, allocations: 43.92 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.1434, allocations: 247.3 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1435, allocations: 111.9 kB / 0.6638 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.1436, allocations: 74.61 kB / 0.6639 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1437, allocations: 7.984 kB / 0.6639 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.1439, allocations: 137.8 kB / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.1439, allocations: 0 / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003987/0.1443, allocations: 218.2 kB / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.1444, allocations: 114.8 kB / 0.6643 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1445, allocations: 141.8 kB / 0.6645 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1446, allocations: 37.64 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1446, allocations: 100.6 kB / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.1447, allocations: 63.58 kB / 0.6647 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.1448, allocations: 57.69 kB / 0.6647 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1449, allocations: 326.8 kB / 0.665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.145, allocations: 52.27 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1452, allocations: 180.5 kB / 0.6653 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1454, allocations: 133.4 kB / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1454, allocations: 0 / 0.6654 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002884/0.1457, allocations: 197.4 kB / 0.6656 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1458, allocations: 9.969 kB / 0.6656 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.1458, allocations: 7.984 kB / 0.6656 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1458, allocations: 0 / 0.6656 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.1459, allocations: 20 kB / 0.6656 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1459, allocations: 3.938 kB / 0.6656 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1461, allocations: 51.8 kB / 0.6657 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1462, allocations: 4 kB / 0.6657 GB, free: 3.77 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.0001181/0.1463, allocations: 149 kB / 0.6658 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1463, allocations: 7.953 kB / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1464, allocations: 16.7 kB / 0.6658 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1464, allocations: 8 kB / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1464, allocations: 0 / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1464, allocations: 0 / 0.6658 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1466, allocations: 209.4 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1466, allocations: 3.984 kB / 0.666 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.1466, allocations: 15.94 kB / 0.6661 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.1466, allocations: 8 kB / 0.6661 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1466, allocations: 0 / 0.6661 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1466, allocations: 4 kB / 0.6661 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1467, allocations: 0 / 0.6661 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1469, allocations: 222.5 kB / 0.6663 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.147, allocations: 89 kB / 0.6664 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.147, allocations: 4 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.1471, allocations: 11.92 kB / 0.6664 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1471, allocations: 4 kB / 0.6664 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1471, allocations: 11.98 kB / 0.6664 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.1472, allocations: 107.3 kB / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1472, allocations: 0 / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003402/0.1476, allocations: 103.8 kB / 0.6666 GB, free: 2.707 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.0007282/0.1483, allocations: 0.8429 MB / 0.6674 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1486, allocations: 215.9 kB / 0.6676 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1486, allocations: 3.938 kB / 0.6676 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.1487, allocations: 59.92 kB / 0.6677 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.1489, allocations: 9.812 kB / 0.6677 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1508, allocations: 1.849 MB / 0.6695 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.151, allocations: 0.7045 MB / 0.6702 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.93e-05/0.1511, allocations: 12.88 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.1512, allocations: 35.42 kB / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.334e-06/0.1512, allocations: 0 / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.1725, allocations: 4.598 MB / 0.6747 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.638, allocations: 19.59 kB / 0.6747 GB, free: 10.36 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)