Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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.0007795/0.0007796, allocations: 92.7 kB / 15.7 MB, free: 472 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.0009011/0.0009011, allocations: 175.2 kB / 16.58 MB, free: 6.066 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.261/1.261, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6599/0.6599, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 9.25 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001502/0.1456, allocations: 1.169 MB / 0.558 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.1466, allocations: 0.6468 MB / 0.5587 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.1466, allocations: 0 / 0.5587 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.1467, allocations: 11.92 kB / 0.5587 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.1468, allocations: 11.92 kB / 0.5587 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.1475, allocations: 283 kB / 0.559 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1478, allocations: 151.6 kB / 0.5591 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.1478, allocations: 4 kB / 0.5591 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.1479, allocations: 63.83 kB / 0.5592 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.148, allocations: 47.81 kB / 0.5592 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.148, allocations: 12 kB / 0.5592 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1483, allocations: 219.8 kB / 0.5594 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.1484, allocations: 31.91 kB / 0.5595 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.1485, allocations: 49.58 kB / 0.5595 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1487, allocations: 207.9 kB / 0.5597 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1487, allocations: 0 / 0.5597 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1487, allocations: 0 / 0.5597 GB, free: 8.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1487, allocations: 0 / 0.5597 GB, free: 8.762 MB / 430.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.0005605/0.1493, allocations: 462.8 kB / 0.5601 GB, free: 8.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1494, allocations: 8.031 kB / 0.5602 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1494, allocations: 38.56 kB / 0.5602 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1495, allocations: 11.91 kB / 0.5602 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1497, allocations: 210.8 kB / 0.5604 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1497, allocations: 11.98 kB / 0.5604 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1498, allocations: 8 kB / 0.5604 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1499, allocations: 102.2 kB / 0.5605 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1499, allocations: 0 / 0.5605 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.15, allocations: 4 kB / 0.5605 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.15, allocations: 3.938 kB / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.1501, allocations: 43.97 kB / 0.5606 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1503, allocations: 247.3 kB / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1505, allocations: 107.8 kB / 0.5609 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.1506, allocations: 74.7 kB / 0.561 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1506, allocations: 4 kB / 0.561 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1508, allocations: 142.3 kB / 0.5611 GB, free: 7.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.1508, allocations: 0 / 0.5611 GB, free: 7.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003761/0.1512, allocations: 213.3 kB / 0.5613 GB, free: 6.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.1513, allocations: 122.8 kB / 0.5614 GB, free: 6.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1514, allocations: 134 kB / 0.5616 GB, free: 6.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.1515, allocations: 37.7 kB / 0.5616 GB, free: 6.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.1515, allocations: 104.7 kB / 0.5617 GB, free: 6.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.1516, allocations: 51.27 kB / 0.5618 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.1516, allocations: 4 kB / 0.5618 GB, free: 6.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1517, allocations: 326.8 kB / 0.5621 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.1518, allocations: 48.25 kB / 0.5621 GB, free: 6.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.152, allocations: 180.5 kB / 0.5623 GB, free: 5.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1521, allocations: 71.94 kB / 0.5624 GB, free: 5.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1522, allocations: 0 / 0.5624 GB, free: 5.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000268/0.1524, allocations: 194.8 kB / 0.5625 GB, free: 5.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1524, allocations: 4 kB / 0.5625 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.1525, allocations: 11.95 kB / 0.5626 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1525, allocations: 4 kB / 0.5626 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.342e-05/0.1526, allocations: 19.92 kB / 0.5626 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1526, allocations: 7.938 kB / 0.5626 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1528, allocations: 51.8 kB / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1528, allocations: 8 kB / 0.5626 GB, free: 5.414 MB / 430.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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.153, allocations: 148.1 kB / 0.5628 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.153, allocations: 15.91 kB / 0.5628 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.153, allocations: 8.719 kB / 0.5628 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.153, allocations: 7.953 kB / 0.5628 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1531, allocations: 0 / 0.5628 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1531, allocations: 3.984 kB / 0.5628 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1532, allocations: 201.5 kB / 0.563 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1532, allocations: 4 kB / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.1533, allocations: 19.98 kB / 0.563 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1533, allocations: 3.938 kB / 0.563 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1533, allocations: 4 kB / 0.563 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1533, allocations: 0 / 0.563 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1533, allocations: 3.953 kB / 0.563 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1536, allocations: 215.8 kB / 0.5633 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1537, allocations: 92.95 kB / 0.5633 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1537, allocations: 4 kB / 0.5633 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.1538, allocations: 4 kB / 0.5633 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1538, allocations: 15.94 kB / 0.5634 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1538, allocations: 8 kB / 0.5634 GB, free: 4.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.522e-05/0.1539, allocations: 101.9 kB / 0.5635 GB, free: 4.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1539, allocations: 0 / 0.5635 GB, free: 4.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.1543, allocations: 99.98 kB / 0.5636 GB, free: 4.379 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007758/0.1551, allocations: 0.8464 MB / 0.5644 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.1554, allocations: 221.3 kB / 0.5646 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1554, allocations: 0 / 0.5646 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1555, allocations: 59.92 kB / 0.5647 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.1557, allocations: 15.78 kB / 0.5647 GB, free: 3.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1569, allocations: 0.8579 MB / 0.5655 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1572, allocations: 0.7048 MB / 0.5662 GB, free: 1.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.1572, allocations: 12.88 kB / 0.5662 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.1573, allocations: 35.42 kB / 0.5662 GB, free: 1.488 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1573, allocations: 0 / 0.5662 GB, free: 1.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.1724, allocations: 4.261 MB / 0.5704 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.1727, allocations: 214.1 kB / 0.5706 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.928, allocations: 3.25 kB / 0.5706 GB, free: 13.2 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: