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.00156/0.00156, allocations: 109.4 kB / 15.69 MB, free: 128 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.001766/0.001767, allocations: 188.5 kB / 16.62 MB, free: 6.582 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.37/1.37, allocations: 222.9 MB / 240.3 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9665/0.9665, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 93.69 kB / 0.5955 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1568, allocations: 86.97 MB / 0.6804 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002472/0.1593, allocations: 1.483 MB / 0.6819 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1604, allocations: 0.6967 MB / 0.6826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.1604, allocations: 0 / 0.6826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.803e-05/0.1605, allocations: 11.88 kB / 0.6826 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.1605, allocations: 15.84 kB / 0.6826 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.1615, allocations: 349.2 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1617, allocations: 163.6 kB / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1617, allocations: 12.27 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.1618, allocations: 71.83 kB / 0.6832 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.1619, allocations: 47.81 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1619, allocations: 12 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.1623, allocations: 247.8 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.1623, allocations: 39.89 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.1624, allocations: 59.72 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1628, allocations: 307.3 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1628, allocations: 0 / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1628, allocations: 0 / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1628, allocations: 4 kB / 0.6838 GB, free: 13 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.0005871/0.1634, allocations: 478.9 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1635, allocations: 12.02 kB / 0.6843 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.1635, allocations: 38.75 kB / 0.6843 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1636, allocations: 8.844 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.1638, allocations: 209.7 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1638, allocations: 8.375 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1638, allocations: 12.38 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.164, allocations: 100.7 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.164, allocations: 3.938 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.164, allocations: 3.984 kB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1641, allocations: 7.938 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.1642, allocations: 43.92 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.1644, allocations: 247.4 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1646, allocations: 111.8 kB / 0.6851 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1647, allocations: 74.67 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1647, allocations: 3.984 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.165, allocations: 142.5 kB / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.165, allocations: 0 / 0.6853 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003974/0.1654, allocations: 213.5 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1655, allocations: 114.8 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1656, allocations: 147.9 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.1656, allocations: 37.7 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.1657, allocations: 96.7 kB / 0.6859 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.1658, allocations: 59.28 kB / 0.6859 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.1659, allocations: 61.62 kB / 0.686 GB, free: 10.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.166, allocations: 326.8 kB / 0.6863 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.1661, allocations: 56.2 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1663, allocations: 176.5 kB / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1665, allocations: 134.5 kB / 0.6866 GB, free: 9.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1665, allocations: 0 / 0.6866 GB, free: 9.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002871/0.1668, allocations: 205.2 kB / 0.6868 GB, free: 9.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1668, allocations: 4 kB / 0.6868 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.1668, allocations: 11.98 kB / 0.6869 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1669, allocations: 4 kB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.167, allocations: 12 kB / 0.6869 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.167, allocations: 0 / 0.6869 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1672, allocations: 47.8 kB / 0.6869 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1672, allocations: 4 kB / 0.6869 GB, free: 9.5 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.0001304/0.1674, allocations: 153.2 kB / 0.6871 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1674, allocations: 15.81 kB / 0.6871 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.1674, allocations: 16.7 kB / 0.6871 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1674, allocations: 4 kB / 0.6871 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1674, allocations: 0 / 0.6871 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1675, allocations: 0 / 0.6871 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1676, allocations: 201.5 kB / 0.6873 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1676, allocations: 3.984 kB / 0.6873 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.1677, allocations: 15.94 kB / 0.6873 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1677, allocations: 0 / 0.6873 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1677, allocations: 8 kB / 0.6873 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1677, allocations: 4 kB / 0.6873 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1677, allocations: 144 / 0.6873 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.168, allocations: 219.6 kB / 0.6875 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1681, allocations: 88.95 kB / 0.6876 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1681, allocations: 0 / 0.6876 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.1682, allocations: 15.92 kB / 0.6876 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1682, allocations: 11.94 kB / 0.6876 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1682, allocations: 11.98 kB / 0.6877 GB, free: 8.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.1683, allocations: 105.5 kB / 0.6878 GB, free: 8.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1683, allocations: 0 / 0.6878 GB, free: 8.547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1687, allocations: 99.98 kB / 0.6878 GB, free: 8.449 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.0007222/0.1694, allocations: 0.8473 MB / 0.6887 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1697, allocations: 217.9 kB / 0.6889 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1697, allocations: 0 / 0.6889 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.1698, allocations: 59.86 kB / 0.6889 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.17, allocations: 11.94 kB / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1718, allocations: 1.834 MB / 0.6907 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1721, allocations: 0.7122 MB / 0.6914 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.1722, allocations: 12.88 kB / 0.6914 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.1722, allocations: 35.42 kB / 0.6915 GB, free: 4.547 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1722, allocations: 0 / 0.6915 GB, free: 4.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1926, allocations: 4.602 MB / 0.696 GB, free: 148 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.692, allocations: 21.8 kB / 0.696 GB, free: 140 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)