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.0009994/0.0009994, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001018/0.001019, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 282.6 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001772, allocations: 92.06 kB / 0.5948 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002664/0.1541, allocations: 1.541 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1552, allocations: 0.6935 MB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.1553, allocations: 3.938 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.823e-05/0.1554, allocations: 7.922 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.1555, allocations: 11.92 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.1564, allocations: 307.3 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1567, allocations: 171.6 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.1567, allocations: 12.97 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.1568, allocations: 64.72 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.1569, allocations: 51.81 kB / 0.6825 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.157, allocations: 12.62 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.1573, allocations: 253.6 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.1574, allocations: 43.83 kB / 0.6828 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.1575, allocations: 59.72 kB / 0.6829 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004286/0.158, allocations: 295.3 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.158, allocations: 8 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.158, allocations: 0 / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.158, allocations: 0 / 0.6831 GB, free: 13.47 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.0007264/0.1587, allocations: 474.9 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1588, allocations: 8.031 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.1589, allocations: 46.73 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.1589, allocations: 8.844 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1592, allocations: 212.1 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1592, allocations: 12.31 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1592, allocations: 12.38 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1594, allocations: 92.8 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1594, allocations: 3.938 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1595, allocations: 7.984 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1595, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1596, allocations: 43.92 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.1599, allocations: 255.4 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1601, allocations: 111.9 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1602, allocations: 66.67 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.1603, allocations: 0 / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.1606, allocations: 152.8 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 2.996e-06/0.1606, allocations: 3.984 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004283/0.161, allocations: 214.2 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.1611, allocations: 118.8 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1612, allocations: 147.8 kB / 0.6851 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.1613, allocations: 37.7 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.1614, allocations: 96.7 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.1614, allocations: 55.33 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.1615, allocations: 65.62 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1616, allocations: 322.8 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.1618, allocations: 52.27 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.162, allocations: 180.5 kB / 0.6858 GB, free: 10.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1622, allocations: 134.5 kB / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1622, allocations: 0 / 0.686 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003056/0.1625, allocations: 201.3 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1625, allocations: 8 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.1626, allocations: 7.984 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1626, allocations: 4 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.1627, allocations: 15.88 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1627, allocations: 4 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1629, allocations: 47.17 kB / 0.6862 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1629, allocations: 8 kB / 0.6862 GB, free: 9.965 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.0001314/0.1631, allocations: 144.7 kB / 0.6864 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1631, allocations: 11.81 kB / 0.6864 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.1631, allocations: 16.72 kB / 0.6864 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1632, allocations: 11.92 kB / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1632, allocations: 0 / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1632, allocations: 0 / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1633, allocations: 205.5 kB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1634, allocations: 0 / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1634, allocations: 15.98 kB / 0.6866 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1634, allocations: 0 / 0.6866 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1634, allocations: 12 kB / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1634, allocations: 0 / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1634, allocations: 0 / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1637, allocations: 218.4 kB / 0.6868 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1638, allocations: 88.95 kB / 0.6869 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1638, allocations: 4 kB / 0.6869 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.1639, allocations: 15.92 kB / 0.6869 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1639, allocations: 8 kB / 0.687 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.164, allocations: 7.984 kB / 0.687 GB, free: 9.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.164, allocations: 109.4 kB / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.164, allocations: 0 / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1644, allocations: 99.98 kB / 0.6872 GB, free: 8.918 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.0007411/0.1652, allocations: 0.8448 MB / 0.688 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.1655, allocations: 225.1 kB / 0.6882 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1655, allocations: 0 / 0.6882 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.1656, allocations: 59.91 kB / 0.6883 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.1658, allocations: 17.98 kB / 0.6883 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1677, allocations: 1.841 MB / 0.6901 GB, free: 5.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1681, allocations: 0.7122 MB / 0.6908 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.1681, allocations: 12.88 kB / 0.6908 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.1682, allocations: 31.42 kB / 0.6908 GB, free: 5 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1682, allocations: 0 / 0.6908 GB, free: 5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/0.2049, allocations: 4.47 MB / 0.6952 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.2051, allocations: 234.4 kB / 0.6954 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.979, allocations: 2.406 kB / 0.6954 GB, free: 0.5078 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)