Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001229/0.001229, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 290.9 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8997/0.8997, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 89.11 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1617, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002646/0.1644, allocations: 1.544 MB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1655, allocations: 0.7209 MB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.1655, allocations: 4 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.828e-05/0.1656, allocations: 11.92 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.1657, allocations: 11.91 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.1664, allocations: 288.6 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1666, allocations: 163.6 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.1667, allocations: 4.281 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.1667, allocations: 71.81 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.1668, allocations: 43.83 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1669, allocations: 8 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.1672, allocations: 235.8 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1673, allocations: 39.83 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.1673, allocations: 59.7 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1677, allocations: 299.3 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1677, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1677, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1677, allocations: 4 kB / 0.6829 GB, free: 13.62 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.0005644/0.1683, allocations: 475 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1683, allocations: 8.031 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1684, allocations: 42.75 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1684, allocations: 12.83 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1686, allocations: 212.1 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1687, allocations: 12.25 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1687, allocations: 16.38 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1689, allocations: 98.36 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1689, allocations: 7.875 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1689, allocations: 0 / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1689, allocations: 4 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.169, allocations: 43.91 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.1693, allocations: 247.4 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1694, allocations: 107.8 kB / 0.6842 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.1695, allocations: 74.7 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1695, allocations: 0 / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1697, allocations: 141.7 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.1698, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003846/0.1701, allocations: 213.9 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.1702, allocations: 122.7 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1703, allocations: 139.5 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1704, allocations: 37.7 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.1704, allocations: 108.6 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.1705, allocations: 55.34 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.1706, allocations: 57.69 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1707, allocations: 326.8 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.1708, allocations: 52.25 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.171, allocations: 176.5 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1712, allocations: 134.5 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1712, allocations: 0 / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002758/0.1715, allocations: 205.4 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1715, allocations: 4 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.1715, allocations: 4 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1716, allocations: 7.984 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.1716, allocations: 19.92 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1717, allocations: 0 / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1719, allocations: 47.8 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1719, allocations: 8 kB / 0.686 GB, free: 10.12 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.0001101/0.172, allocations: 137.3 kB / 0.6861 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.172, allocations: 19.8 kB / 0.6862 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.1721, allocations: 16.72 kB / 0.6862 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1721, allocations: 7.938 kB / 0.6862 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1721, allocations: 0 / 0.6862 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1721, allocations: 0 / 0.6862 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1723, allocations: 209.5 kB / 0.6864 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1723, allocations: 3.938 kB / 0.6864 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.1723, allocations: 8 kB / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1723, allocations: 4 kB / 0.6864 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1723, allocations: 11.98 kB / 0.6864 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1724, allocations: 4 kB / 0.6864 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1724, allocations: 4 kB / 0.6864 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1726, allocations: 214.4 kB / 0.6866 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1727, allocations: 88.95 kB / 0.6867 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1727, allocations: 3.984 kB / 0.6867 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.1728, allocations: 11.94 kB / 0.6867 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1728, allocations: 11.98 kB / 0.6867 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1728, allocations: 4 kB / 0.6867 GB, free: 9.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.1729, allocations: 113.7 kB / 0.6868 GB, free: 9.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1729, allocations: 0 / 0.6868 GB, free: 9.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1732, allocations: 104 kB / 0.6869 GB, free: 9.062 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.0006637/0.1739, allocations: 0.8443 MB / 0.6878 GB, free: 8.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1742, allocations: 213.1 kB / 0.688 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1742, allocations: 0 / 0.688 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.1743, allocations: 60.09 kB / 0.688 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.1744, allocations: 15.88 kB / 0.688 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1762, allocations: 1.842 MB / 0.6898 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.1764, allocations: 0.7084 MB / 0.6905 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1765, allocations: 12.88 kB / 0.6905 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.1765, allocations: 31.44 kB / 0.6906 GB, free: 5.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1765, allocations: 0 / 0.6906 GB, free: 5.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1964, allocations: 4.351 MB / 0.6948 GB, free: 1.016 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.1967, allocations: 236.2 kB / 0.6951 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/1.885, allocations: 4.594 kB / 0.6951 GB, free: 0.7656 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)