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.0007422/0.0007422, allocations: 99.28 kB / 16.02 MB, free: 80 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.0008605/0.0008608, allocations: 180.3 kB / 16.92 MB, free: 6.922 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.381/1.381, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7609/0.7609, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 9.938 kB / 0.4933 GB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4716, allocations: 79.28 MB / 0.5707 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002258/0.474, allocations: 1.189 MB / 0.5719 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4753, allocations: 0.71 MB / 0.5726 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.4754, allocations: 5.594 kB / 0.5726 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.415e-05/0.4755, allocations: 4.453 kB / 0.5726 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.4756, allocations: 17.91 kB / 0.5726 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.4766, allocations: 288.2 kB / 0.5729 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.4769, allocations: 167 kB / 0.573 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/0.477, allocations: 4.688 kB / 0.5731 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4771, allocations: 63.19 kB / 0.5731 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.4772, allocations: 50.17 kB / 0.5732 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.4773, allocations: 6.094 kB / 0.5732 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.4778, allocations: 243.8 kB / 0.5734 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.4779, allocations: 34.86 kB / 0.5734 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4781, allocations: 87.27 kB / 0.5735 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.4786, allocations: 295 kB / 0.5738 GB, free: 9.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4786, allocations: 1.312 kB / 0.5738 GB, free: 9.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4786, allocations: 0 / 0.5738 GB, free: 9.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4787, allocations: 0 / 0.5738 GB, free: 9.105 MB / 430.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.0007069/0.4794, allocations: 446.6 kB / 0.5742 GB, free: 8.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4794, allocations: 10.02 kB / 0.5742 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.4795, allocations: 16.41 kB / 0.5742 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.4797, allocations: 208.5 kB / 0.5744 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4798, allocations: 5.188 kB / 0.5745 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.4798, allocations: 16.19 kB / 0.5745 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.48, allocations: 100.3 kB / 0.5746 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4801, allocations: 192 / 0.5746 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4801, allocations: 9.594 kB / 0.5746 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4801, allocations: 1.062 kB / 0.5746 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4802, allocations: 45.77 kB / 0.5746 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.4806, allocations: 249.3 kB / 0.5749 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4807, allocations: 115.2 kB / 0.575 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4809, allocations: 77.31 kB / 0.575 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.4809, allocations: 2.562 kB / 0.575 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.4812, allocations: 132.5 kB / 0.5752 GB, free: 7.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.4812, allocations: 4 kB / 0.5752 GB, free: 7.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004448/0.4816, allocations: 218.2 kB / 0.5754 GB, free: 7.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.4817, allocations: 115.6 kB / 0.5755 GB, free: 7.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4818, allocations: 142.9 kB / 0.5756 GB, free: 7.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.4818, allocations: 35.23 kB / 0.5757 GB, free: 7.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.4819, allocations: 99.02 kB / 0.5758 GB, free: 7.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.482, allocations: 60.25 kB / 0.5758 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.482, allocations: 31.48 kB / 0.5758 GB, free: 7.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.4821, allocations: 335.8 kB / 0.5762 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4822, allocations: 51.84 kB / 0.5762 GB, free: 7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.4824, allocations: 178.3 kB / 0.5764 GB, free: 6.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.4826, allocations: 132.4 kB / 0.5765 GB, free: 6.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4826, allocations: 0 / 0.5765 GB, free: 6.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003225/0.483, allocations: 205.3 kB / 0.5767 GB, free: 6.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.483, allocations: 5.969 kB / 0.5767 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.483, allocations: 5.609 kB / 0.5767 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4831, allocations: 1.156 kB / 0.5767 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4832, allocations: 20.11 kB / 0.5767 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4832, allocations: 1.219 kB / 0.5767 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.4834, allocations: 62.27 kB / 0.5768 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4835, allocations: 5.375 kB / 0.5768 GB, free: 6.668 MB / 430.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.0001184/0.4836, allocations: 144.3 kB / 0.5769 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.4836, allocations: 13.97 kB / 0.577 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.4837, allocations: 13.5 kB / 0.577 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4837, allocations: 5.969 kB / 0.577 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4837, allocations: 0.6875 kB / 0.577 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4837, allocations: 2.5 kB / 0.577 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4839, allocations: 208 kB / 0.5772 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4839, allocations: 1.406 kB / 0.5772 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.4839, allocations: 9.844 kB / 0.5772 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4839, allocations: 1.625 kB / 0.5772 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4839, allocations: 7 kB / 0.5772 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.484, allocations: 10.72 kB / 0.5772 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.484, allocations: 0 / 0.5772 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.4843, allocations: 210.9 kB / 0.5774 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.4843, allocations: 94.3 kB / 0.5775 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4843, allocations: 7.875 kB / 0.5775 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.4844, allocations: 9.016 kB / 0.5775 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.4845, allocations: 8.281 kB / 0.5775 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4845, allocations: 14.03 kB / 0.5775 GB, free: 6.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.4846, allocations: 102.6 kB / 0.5776 GB, free: 5.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4846, allocations: 0 / 0.5776 GB, free: 5.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.4851, allocations: 106.8 kB / 0.5777 GB, free: 5.938 MB / 430.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.0003513/0.4854, allocations: 201.5 kB / 0.5779 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.4858, allocations: 220.7 kB / 0.5781 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4858, allocations: 0 / 0.5781 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.4859, allocations: 58.33 kB / 0.5782 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.4861, allocations: 11.7 kB / 0.5782 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.4866, allocations: 274.6 kB / 0.5785 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.4869, allocations: 0.7213 MB / 0.5792 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4869, allocations: 12.45 kB / 0.5792 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.487, allocations: 15.31 kB / 0.5792 GB, free: 4.727 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.487, allocations: 0 / 0.5792 GB, free: 4.727 MB / 430.1 MB Notification: Performance of Templates: time 0.007697/0.4947, allocations: 2.935 MB / 0.5821 GB, free: 4.434 MB / 430.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)