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.0009699/0.00097, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00644/0.006441, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 278.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9879/0.9879, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004097, allocations: 11 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001659/0.1647, allocations: 1.201 MB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1659, allocations: 0.7118 MB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.166, allocations: 0 / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.507e-05/0.1661, allocations: 11.92 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.1662, allocations: 3.938 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.167, allocations: 301.5 kB / 0.6874 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1673, allocations: 155.7 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.1673, allocations: 12.25 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.1674, allocations: 63.78 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.1675, allocations: 47.81 kB / 0.6877 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1676, allocations: 8 kB / 0.6877 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.1679, allocations: 236.2 kB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.168, allocations: 32.47 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.1681, allocations: 85.97 kB / 0.688 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1685, allocations: 295.3 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1685, allocations: 0.6562 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1685, allocations: 0 / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1685, allocations: 1.875 kB / 0.6883 GB, free: 11.86 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.0005543/0.1691, allocations: 455.7 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1691, allocations: 9.219 kB / 0.6887 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.1692, allocations: 38.75 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1692, allocations: 12.83 kB / 0.6888 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1694, allocations: 208.1 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1694, allocations: 12.94 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1695, allocations: 14.09 kB / 0.689 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1697, allocations: 96.73 kB / 0.6891 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1697, allocations: 6.406 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1697, allocations: 0 / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1697, allocations: 4 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.1698, allocations: 47.91 kB / 0.6891 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.1701, allocations: 248 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1702, allocations: 109.5 kB / 0.6895 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.1703, allocations: 85.58 kB / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1704, allocations: 0 / 0.6896 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.1706, allocations: 138.5 kB / 0.6897 GB, free: 10.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.1706, allocations: 0.875 kB / 0.6897 GB, free: 10.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003869/0.171, allocations: 209.5 kB / 0.6899 GB, free: 9.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1711, allocations: 119.4 kB / 0.69 GB, free: 9.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1712, allocations: 144.6 kB / 0.6902 GB, free: 9.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.1713, allocations: 34.77 kB / 0.6902 GB, free: 9.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.1713, allocations: 100.7 kB / 0.6903 GB, free: 9.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.1714, allocations: 52.36 kB / 0.6903 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.1714, allocations: 33.64 kB / 0.6904 GB, free: 9.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1716, allocations: 330.8 kB / 0.6907 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1717, allocations: 52.25 kB / 0.6907 GB, free: 9.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1719, allocations: 176.5 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1721, allocations: 138.5 kB / 0.691 GB, free: 8.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1721, allocations: 0 / 0.691 GB, free: 8.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003155/0.1724, allocations: 201.2 kB / 0.6912 GB, free: 8.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1725, allocations: 8 kB / 0.6912 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.1725, allocations: 4 kB / 0.6912 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1725, allocations: 0 / 0.6912 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.1726, allocations: 19.98 kB / 0.6913 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1726, allocations: 3.938 kB / 0.6913 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.1729, allocations: 63.73 kB / 0.6913 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1729, allocations: 4 kB / 0.6913 GB, free: 8.406 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.0001259/0.173, allocations: 141.3 kB / 0.6915 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.173, allocations: 15.81 kB / 0.6915 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.1731, allocations: 12.72 kB / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1731, allocations: 0 / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1731, allocations: 4 kB / 0.6915 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1731, allocations: 4.141 kB / 0.6915 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1733, allocations: 213.4 kB / 0.6917 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1733, allocations: 0 / 0.6917 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1734, allocations: 15.92 kB / 0.6917 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1734, allocations: 0 / 0.6917 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.1734, allocations: 11.98 kB / 0.6917 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1734, allocations: 0 / 0.6917 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1734, allocations: 4 kB / 0.6917 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.1737, allocations: 205.5 kB / 0.6919 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1738, allocations: 100.8 kB / 0.692 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1738, allocations: 7.938 kB / 0.692 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.1738, allocations: 11.94 kB / 0.692 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1739, allocations: 11.98 kB / 0.6921 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1739, allocations: 7.938 kB / 0.6921 GB, free: 7.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.736e-05/0.174, allocations: 113.6 kB / 0.6922 GB, free: 7.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.174, allocations: 0 / 0.6922 GB, free: 7.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1744, allocations: 99.98 kB / 0.6923 GB, free: 7.352 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.0007619/0.1751, allocations: 0.8482 MB / 0.6931 GB, free: 6.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1755, allocations: 212.9 kB / 0.6933 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1755, allocations: 4 kB / 0.6933 GB, free: 6.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.1756, allocations: 59.91 kB / 0.6934 GB, free: 6.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.1758, allocations: 16.84 kB / 0.6934 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1777, allocations: 1.84 MB / 0.6952 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.178, allocations: 0.7123 MB / 0.6959 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.1781, allocations: 8.891 kB / 0.6959 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1782, allocations: 35.42 kB / 0.6959 GB, free: 3.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1782, allocations: 0 / 0.6959 GB, free: 3.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.1934, allocations: 4.282 MB / 0.7001 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.1937, allocations: 240.6 kB / 0.7003 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/1.97, allocations: 0 / 0.7003 GB, free: 15.14 MB / 0.4981 GB (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)