Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.00118/0.00118, allocations: 193.4 kB / 16.91 MB, free: 6.191 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8213/0.8213, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 63.89 kB / 0.4945 GB, free: 3.859 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4341, allocations: 78.7 MB / 0.5713 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003249/0.4374, allocations: 1.529 MB / 0.5728 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.4385, allocations: 0.6975 MB / 0.5735 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.4386, allocations: 1.594 kB / 0.5735 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.96e-05/0.4387, allocations: 9.594 kB / 0.5735 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.4388, allocations: 8.656 kB / 0.5735 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009144/0.4397, allocations: 316.1 kB / 0.5738 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.44, allocations: 166.2 kB / 0.574 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.44, allocations: 18.59 kB / 0.574 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.4401, allocations: 68.95 kB / 0.574 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.4402, allocations: 57.94 kB / 0.5741 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.4403, allocations: 12.66 kB / 0.5741 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.4407, allocations: 247.9 kB / 0.5743 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.4408, allocations: 35.41 kB / 0.5744 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.4409, allocations: 62.72 kB / 0.5744 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.4415, allocations: 306.2 kB / 0.5747 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4415, allocations: 1.125 kB / 0.5747 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.4415, allocations: 0.9688 kB / 0.5747 GB, free: 29.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.4415, allocations: 3.938 kB / 0.5747 GB, free: 29.39 MB / 446.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.0006955/0.4422, allocations: 472.9 kB / 0.5752 GB, free: 28.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4423, allocations: 9.906 kB / 0.5752 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.4424, allocations: 12.16 kB / 0.5752 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.4426, allocations: 217.8 kB / 0.5754 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4426, allocations: 10.12 kB / 0.5754 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.4427, allocations: 8.406 kB / 0.5754 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.4429, allocations: 101.5 kB / 0.5755 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.443, allocations: 2.875 kB / 0.5755 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.443, allocations: 3.938 kB / 0.5755 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.443, allocations: 1.531 kB / 0.5755 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4431, allocations: 49.47 kB / 0.5756 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.4434, allocations: 252.7 kB / 0.5758 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4435, allocations: 111.6 kB / 0.5759 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.4436, allocations: 71.84 kB / 0.576 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4436, allocations: 1.984 kB / 0.576 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.4439, allocations: 141.4 kB / 0.5761 GB, free: 28.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.4439, allocations: 0.9375 kB / 0.5761 GB, free: 28.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004294/0.4444, allocations: 214.2 kB / 0.5763 GB, free: 28.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.4444, allocations: 117.4 kB / 0.5765 GB, free: 27.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4445, allocations: 142.2 kB / 0.5766 GB, free: 27.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4446, allocations: 36.38 kB / 0.5766 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.4446, allocations: 100.2 kB / 0.5767 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.4447, allocations: 60.55 kB / 0.5768 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.4448, allocations: 64.86 kB / 0.5768 GB, free: 27.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.4449, allocations: 325.1 kB / 0.5772 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.445, allocations: 50.73 kB / 0.5772 GB, free: 27.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.4452, allocations: 180.7 kB / 0.5774 GB, free: 27.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4454, allocations: 135.1 kB / 0.5775 GB, free: 27.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4454, allocations: 0 / 0.5775 GB, free: 27.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000297/0.4457, allocations: 202 kB / 0.5777 GB, free: 26.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4457, allocations: 3.812 kB / 0.5777 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.4457, allocations: 6.984 kB / 0.5777 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4458, allocations: 1.75 kB / 0.5777 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4459, allocations: 12.67 kB / 0.5777 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.4459, allocations: 6.516 kB / 0.5777 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4461, allocations: 48.84 kB / 0.5778 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4461, allocations: 9.547 kB / 0.5778 GB, free: 26.96 MB / 446.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.0001118/0.4463, allocations: 137.2 kB / 0.5779 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.4463, allocations: 17.61 kB / 0.5779 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.4463, allocations: 22.25 kB / 0.578 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4463, allocations: 1.812 kB / 0.578 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4464, allocations: 1.844 kB / 0.578 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4464, allocations: 3.516 kB / 0.578 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.4465, allocations: 208.8 kB / 0.5782 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4465, allocations: 0 / 0.5782 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.4466, allocations: 13.3 kB / 0.5782 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4466, allocations: 2.984 kB / 0.5782 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4466, allocations: 3.875 kB / 0.5782 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4466, allocations: 1.875 kB / 0.5782 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4466, allocations: 5.344 kB / 0.5782 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.4469, allocations: 210.2 kB / 0.5784 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.447, allocations: 98.94 kB / 0.5785 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.447, allocations: 6.75 kB / 0.5785 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.445e-05/0.4471, allocations: 8.312 kB / 0.5785 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.4471, allocations: 14.25 kB / 0.5785 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4471, allocations: 5.531 kB / 0.5785 GB, free: 26.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.4472, allocations: 105.3 kB / 0.5786 GB, free: 26.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4472, allocations: 0 / 0.5786 GB, free: 26.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004332/0.4476, allocations: 102.7 kB / 0.5787 GB, free: 26.24 MB / 446.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.0003049/0.448, allocations: 194.8 kB / 0.5789 GB, free: 26.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.4483, allocations: 235.8 kB / 0.5791 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4483, allocations: 0 / 0.5791 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.4484, allocations: 56.16 kB / 0.5792 GB, free: 25.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.4486, allocations: 15.59 kB / 0.5792 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.449, allocations: 273.3 kB / 0.5795 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.4492, allocations: 0.712 MB / 0.5801 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.4493, allocations: 12.72 kB / 0.5802 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.4493, allocations: 15.59 kB / 0.5802 GB, free: 25.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4493, allocations: 0 / 0.5802 GB, free: 25.04 MB / 446.1 MB Notification: Performance of Templates: time 0.006445/0.4558, allocations: 3.038 MB / 0.5831 GB, free: 23.58 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)