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.00136/0.001361, allocations: 109.6 kB / 17.03 MB, free: 6.094 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.001149/0.00115, allocations: 190.9 kB / 17.97 MB, free: 5.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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7235/0.7235, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3737, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002595/0.3763, allocations: 1.472 MB / 0.559 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3774, allocations: 0.691 MB / 0.5597 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.3775, allocations: 1.219 kB / 0.5597 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.173e-05/0.3776, allocations: 11.67 kB / 0.5597 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.3776, allocations: 13.33 kB / 0.5597 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.3786, allocations: 347.6 kB / 0.56 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.3788, allocations: 176.4 kB / 0.5602 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.3789, allocations: 5.766 kB / 0.5602 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.379, allocations: 74.16 kB / 0.5603 GB, free: 35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.3791, allocations: 43.27 kB / 0.5603 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.3791, allocations: 16.19 kB / 0.5603 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.3795, allocations: 260.7 kB / 0.5606 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.3796, allocations: 39.17 kB / 0.5606 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.3797, allocations: 61.78 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.3802, allocations: 308.8 kB / 0.561 GB, free: 34.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3802, allocations: 0 / 0.561 GB, free: 34.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3802, allocations: 0.8438 kB / 0.561 GB, free: 34.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3802, allocations: 0 / 0.561 GB, free: 34.74 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.0006186/0.3808, allocations: 475.3 kB / 0.5614 GB, free: 34.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3809, allocations: 9.938 kB / 0.5614 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.3809, allocations: 12.78 kB / 0.5614 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3812, allocations: 211 kB / 0.5616 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3812, allocations: 5.406 kB / 0.5616 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.3812, allocations: 13.62 kB / 0.5617 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3814, allocations: 105.1 kB / 0.5618 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3814, allocations: 192 / 0.5618 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3815, allocations: 6.031 kB / 0.5618 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3815, allocations: 1.938 kB / 0.5618 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3816, allocations: 46.64 kB / 0.5618 GB, free: 33.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.3819, allocations: 247.9 kB / 0.562 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.382, allocations: 106.2 kB / 0.5621 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3821, allocations: 71.44 kB / 0.5622 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3821, allocations: 1.828 kB / 0.5622 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.3824, allocations: 147.9 kB / 0.5624 GB, free: 33.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.3824, allocations: 0 / 0.5624 GB, free: 33.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004516/0.3829, allocations: 213.2 kB / 0.5626 GB, free: 33.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.3829, allocations: 117.4 kB / 0.5627 GB, free: 33.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3831, allocations: 142.7 kB / 0.5628 GB, free: 33.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.3831, allocations: 44.36 kB / 0.5629 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.3832, allocations: 95.58 kB / 0.5629 GB, free: 33.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.3832, allocations: 60.19 kB / 0.563 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.3833, allocations: 61 kB / 0.5631 GB, free: 32.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.3834, allocations: 328.9 kB / 0.5634 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.3835, allocations: 47.73 kB / 0.5634 GB, free: 32.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.3837, allocations: 178.3 kB / 0.5636 GB, free: 32.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3839, allocations: 131.7 kB / 0.5637 GB, free: 32.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3839, allocations: 2.656 kB / 0.5637 GB, free: 32.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002997/0.3842, allocations: 206.2 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3843, allocations: 6.125 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.3843, allocations: 9.125 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3843, allocations: 3.953 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.3844, allocations: 11.81 kB / 0.5639 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3844, allocations: 7.094 kB / 0.564 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.3846, allocations: 46.91 kB / 0.564 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3847, allocations: 9.703 kB / 0.564 GB, free: 32.32 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.000107/0.3848, allocations: 137.5 kB / 0.5641 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3848, allocations: 17.16 kB / 0.5642 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.3849, allocations: 16.41 kB / 0.5642 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3849, allocations: 3.25 kB / 0.5642 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3849, allocations: 1.703 kB / 0.5642 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3849, allocations: 1.797 kB / 0.5642 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.385, allocations: 201.3 kB / 0.5644 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.385, allocations: 1.188 kB / 0.5644 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.3851, allocations: 15.27 kB / 0.5644 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3851, allocations: 9.781 kB / 0.5644 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3851, allocations: 8.016 kB / 0.5644 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3851, allocations: 1.094 kB / 0.5644 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3851, allocations: 1 kB / 0.5644 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.3854, allocations: 215.3 kB / 0.5646 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.3855, allocations: 89.97 kB / 0.5647 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3855, allocations: 2.094 kB / 0.5647 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.3855, allocations: 15 kB / 0.5647 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.3856, allocations: 12.11 kB / 0.5647 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3856, allocations: 5.219 kB / 0.5647 GB, free: 31.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.3857, allocations: 111.5 kB / 0.5648 GB, free: 31.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3857, allocations: 0 / 0.5648 GB, free: 31.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.3861, allocations: 107.5 kB / 0.5649 GB, free: 31.6 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.0002944/0.3864, allocations: 198.5 kB / 0.5651 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.3867, allocations: 226.9 kB / 0.5653 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3867, allocations: 0.625 kB / 0.5653 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.3868, allocations: 49.94 kB / 0.5654 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.387, allocations: 12.17 kB / 0.5654 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3874, allocations: 245.8 kB / 0.5656 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.3876, allocations: 0.712 MB / 0.5663 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.3877, allocations: 12.19 kB / 0.5663 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3877, allocations: 14.95 kB / 0.5664 GB, free: 30.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3877, allocations: 0 / 0.5664 GB, free: 30.44 MB / 446.1 MB Notification: Performance of Templates: time 0.0071/0.3948, allocations: 3.073 MB / 0.5694 GB, free: 30.23 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)