Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001143/0.001143, 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.001201/0.001201, allocations: 192.4 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002331/0.002331, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 95.31 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002568/0.1504, allocations: 1.465 MB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1516, allocations: 0.7026 MB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.1516, allocations: 4 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.654e-05/0.1517, allocations: 5.844 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.1518, allocations: 19.84 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1528, allocations: 342.9 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.153, allocations: 167.6 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1531, allocations: 12.27 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.1532, allocations: 67.83 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.1533, allocations: 47.83 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1533, allocations: 12 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.1537, allocations: 251.7 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.1538, allocations: 35.91 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.1539, allocations: 71.7 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.1544, allocations: 291.4 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1544, allocations: 4 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1544, allocations: 0 / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1544, allocations: 0 / 0.6837 GB, free: 13.1 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.0006629/0.1551, allocations: 480.8 kB / 0.6841 GB, free: 12.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1551, allocations: 8.031 kB / 0.6841 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.1552, allocations: 38.75 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1552, allocations: 16.84 kB / 0.6842 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1555, allocations: 212 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1555, allocations: 12.36 kB / 0.6844 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1555, allocations: 16.3 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1557, allocations: 94.67 kB / 0.6845 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1557, allocations: 7.938 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1558, allocations: 0 / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1558, allocations: 0 / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1559, allocations: 55.91 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.1563, allocations: 239.4 kB / 0.6848 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1565, allocations: 111.8 kB / 0.6849 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1566, allocations: 74.7 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1566, allocations: 0 / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.1569, allocations: 146.8 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1569, allocations: 0 / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003868/0.1573, allocations: 205.5 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1574, allocations: 130.7 kB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1575, allocations: 137.7 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1575, allocations: 37.7 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.1576, allocations: 100.7 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.1577, allocations: 47.36 kB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.1578, allocations: 65.69 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1579, allocations: 322.8 kB / 0.6861 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.158, allocations: 56.25 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1582, allocations: 178.1 kB / 0.6863 GB, free: 10.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1584, allocations: 138.4 kB / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1584, allocations: 0 / 0.6865 GB, free: 9.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002943/0.1587, allocations: 205.3 kB / 0.6867 GB, free: 9.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1587, allocations: 6.188 kB / 0.6867 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.1587, allocations: 8 kB / 0.6867 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1587, allocations: 4 kB / 0.6867 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.1588, allocations: 11.94 kB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1589, allocations: 11.92 kB / 0.6867 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1591, allocations: 46.3 kB / 0.6868 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1591, allocations: 12 kB / 0.6868 GB, free: 9.586 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.0001244/0.1592, allocations: 145.4 kB / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1593, allocations: 15.81 kB / 0.6869 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1593, allocations: 16.7 kB / 0.6869 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1593, allocations: 4 kB / 0.6869 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1593, allocations: 0 / 0.6869 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1593, allocations: 0 / 0.6869 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1595, allocations: 209.5 kB / 0.6871 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1595, allocations: 8 kB / 0.6871 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.1595, allocations: 11.94 kB / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1595, allocations: 0 / 0.6872 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1596, allocations: 4 kB / 0.6872 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1596, allocations: 3.984 kB / 0.6872 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1596, allocations: 0 / 0.6872 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1599, allocations: 214.4 kB / 0.6874 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1599, allocations: 92.95 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1599, allocations: 11.98 kB / 0.6875 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.16, allocations: 3.938 kB / 0.6875 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.16, allocations: 15.98 kB / 0.6875 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1601, allocations: 4 kB / 0.6875 GB, free: 8.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.1601, allocations: 107.2 kB / 0.6876 GB, free: 8.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1601, allocations: 0 / 0.6876 GB, free: 8.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.1605, allocations: 95.98 kB / 0.6877 GB, free: 8.543 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.0007299/0.1612, allocations: 0.8512 MB / 0.6885 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1616, allocations: 217.9 kB / 0.6887 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1616, allocations: 0 / 0.6887 GB, free: 7.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1617, allocations: 59.97 kB / 0.6888 GB, free: 7.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.1618, allocations: 15.88 kB / 0.6888 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1636, allocations: 1.808 MB / 0.6906 GB, free: 5.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1639, allocations: 0.7121 MB / 0.6913 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.233e-05/0.1639, allocations: 12.88 kB / 0.6913 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.164, allocations: 35.44 kB / 0.6913 GB, free: 4.656 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.164, allocations: 0 / 0.6913 GB, free: 4.656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/0.2944, allocations: 4.586 MB / 0.6958 GB, free: 260 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.276, allocations: 19.75 kB / 0.6958 GB, free: 248 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)