Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_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.005273/0.005273, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001312/0.001313, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.711/0.711, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 58.12 kB / 0.5808 GB, free: 24.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 80.22 MB / 0.6592 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002545/0.134, allocations: 1.476 MB / 0.6606 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1351, allocations: 0.6952 MB / 0.6613 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.1352, allocations: 0 / 0.6613 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.674e-05/0.1353, allocations: 11.92 kB / 0.6613 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.1354, allocations: 11.81 kB / 0.6613 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1364, allocations: 346.5 kB / 0.6616 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1367, allocations: 171.7 kB / 0.6618 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.1367, allocations: 7.984 kB / 0.6618 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1368, allocations: 67.89 kB / 0.6619 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.1369, allocations: 59.69 kB / 0.6619 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.137, allocations: 12 kB / 0.6619 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.1373, allocations: 247.8 kB / 0.6622 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.1374, allocations: 35.91 kB / 0.6622 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.1375, allocations: 67.7 kB / 0.6623 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1379, allocations: 303.4 kB / 0.6626 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1379, allocations: 0 / 0.6626 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.138, allocations: 0 / 0.6626 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.138, allocations: 0 / 0.6626 GB, free: 7.414 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.0006151/0.1386, allocations: 478.5 kB / 0.663 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1386, allocations: 12.03 kB / 0.663 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1387, allocations: 38.73 kB / 0.6631 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.1387, allocations: 16.84 kB / 0.6631 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.139, allocations: 208.2 kB / 0.6633 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.139, allocations: 12.38 kB / 0.6633 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.139, allocations: 8.375 kB / 0.6633 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1392, allocations: 100.7 kB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1392, allocations: 3.938 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1392, allocations: 0 / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1392, allocations: 4 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1393, allocations: 43.97 kB / 0.6634 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.1396, allocations: 255.3 kB / 0.6637 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1397, allocations: 99.89 kB / 0.6638 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.1398, allocations: 78.64 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1399, allocations: 15.92 kB / 0.6639 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1401, allocations: 133.8 kB / 0.664 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.1401, allocations: 3.938 kB / 0.664 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003997/0.1405, allocations: 217.7 kB / 0.6642 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.1406, allocations: 122.8 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1407, allocations: 135.5 kB / 0.6645 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1408, allocations: 33.7 kB / 0.6645 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1408, allocations: 100.7 kB / 0.6646 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.1409, allocations: 55.58 kB / 0.6646 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.141, allocations: 61.69 kB / 0.6647 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1411, allocations: 330.8 kB / 0.665 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.1412, allocations: 56.25 kB / 0.6651 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.1414, allocations: 184.4 kB / 0.6652 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1416, allocations: 128.4 kB / 0.6654 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1416, allocations: 0 / 0.6654 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002839/0.1419, allocations: 201.4 kB / 0.6656 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1419, allocations: 6.031 kB / 0.6656 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.1419, allocations: 7.938 kB / 0.6656 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1419, allocations: 3.938 kB / 0.6656 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.142, allocations: 23.98 kB / 0.6656 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.142, allocations: 0 / 0.6656 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.1422, allocations: 51.8 kB / 0.6657 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1423, allocations: 4 kB / 0.6657 GB, free: 3.902 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.0001202/0.1424, allocations: 148.8 kB / 0.6658 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1424, allocations: 11.94 kB / 0.6658 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.1425, allocations: 12.72 kB / 0.6658 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1425, allocations: 0 / 0.6658 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1425, allocations: 4 kB / 0.6658 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1425, allocations: 0 / 0.6658 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1426, allocations: 213.4 kB / 0.666 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1427, allocations: 0 / 0.666 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.1427, allocations: 12 kB / 0.666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1427, allocations: 8 kB / 0.666 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1427, allocations: 3.984 kB / 0.6661 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1427, allocations: 7.938 kB / 0.6661 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1427, allocations: 0 / 0.6661 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.143, allocations: 210.6 kB / 0.6663 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.143, allocations: 89 kB / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1431, allocations: 11.98 kB / 0.6664 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.1431, allocations: 7.938 kB / 0.6664 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1432, allocations: 7.984 kB / 0.6664 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1432, allocations: 8 kB / 0.6664 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.1433, allocations: 107.2 kB / 0.6665 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.363e-06/0.1433, allocations: 0 / 0.6665 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003319/0.1436, allocations: 107.7 kB / 0.6666 GB, free: 2.844 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.0006761/0.1443, allocations: 0.8392 MB / 0.6674 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1446, allocations: 216.9 kB / 0.6676 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1446, allocations: 0 / 0.6676 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.1447, allocations: 67.89 kB / 0.6677 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1449, allocations: 15.88 kB / 0.6677 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1466, allocations: 1.846 MB / 0.6695 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1469, allocations: 0.7084 MB / 0.6702 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.1469, allocations: 12.88 kB / 0.6702 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.147, allocations: 31.44 kB / 0.6702 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.147, allocations: 0 / 0.6702 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1668, allocations: 4.599 MB / 0.6747 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.35, allocations: 9.578 kB / 0.6747 GB, free: 10.5 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)