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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001195/0.001195, allocations: 100.8 kB / 16.27 MB, free: 5.93 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.001156/0.001156, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.225/1.225, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7021/0.7021, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.88 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002428/0.3576, allocations: 1.463 MB / 0.5687 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3587, allocations: 0.6951 MB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.3588, allocations: 1.219 kB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.534e-05/0.3589, allocations: 12.62 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.3589, allocations: 12.73 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.3598, allocations: 340.3 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.36, allocations: 175.3 kB / 0.5699 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.3601, allocations: 6.391 kB / 0.5699 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.3601, allocations: 71.5 kB / 0.57 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.3602, allocations: 49.11 kB / 0.57 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.3603, allocations: 16.12 kB / 0.57 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.3606, allocations: 254.5 kB / 0.5703 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.3607, allocations: 38.75 kB / 0.5703 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.3608, allocations: 56.8 kB / 0.5704 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3612, allocations: 303.4 kB / 0.5707 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3612, allocations: 2.609 kB / 0.5707 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3612, allocations: 0 / 0.5707 GB, free: 30.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3612, allocations: 0 / 0.5707 GB, free: 30.73 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.0005164/0.3618, allocations: 470.8 kB / 0.5711 GB, free: 30.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3618, allocations: 13.69 kB / 0.5711 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3618, allocations: 39.77 kB / 0.5712 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.3619, allocations: 11.92 kB / 0.5712 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3621, allocations: 216.3 kB / 0.5714 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3621, allocations: 5.656 kB / 0.5714 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3621, allocations: 13.09 kB / 0.5714 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3623, allocations: 102.2 kB / 0.5715 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3623, allocations: 5 kB / 0.5715 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3623, allocations: 1.547 kB / 0.5715 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3623, allocations: 5.328 kB / 0.5715 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.3624, allocations: 45.97 kB / 0.5716 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.3627, allocations: 252.1 kB / 0.5718 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3628, allocations: 108.8 kB / 0.5719 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.3629, allocations: 71.42 kB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3629, allocations: 2.094 kB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.3631, allocations: 146 kB / 0.5721 GB, free: 29.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.3631, allocations: 1.062 kB / 0.5721 GB, free: 29.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003992/0.3635, allocations: 222 kB / 0.5723 GB, free: 29.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3636, allocations: 113.2 kB / 0.5724 GB, free: 29.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3637, allocations: 144.6 kB / 0.5726 GB, free: 29.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3637, allocations: 35.11 kB / 0.5726 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.3638, allocations: 96.42 kB / 0.5727 GB, free: 29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.3639, allocations: 61.2 kB / 0.5728 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.3639, allocations: 60.59 kB / 0.5728 GB, free: 28.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.364, allocations: 329.4 kB / 0.5731 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.3641, allocations: 51.81 kB / 0.5732 GB, free: 28.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3643, allocations: 185.4 kB / 0.5734 GB, free: 28.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3645, allocations: 131.1 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3645, allocations: 3.938 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002753/0.3648, allocations: 196 kB / 0.5737 GB, free: 28.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3648, allocations: 6.719 kB / 0.5737 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.3648, allocations: 4.438 kB / 0.5737 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3649, allocations: 2.25 kB / 0.5737 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.365, allocations: 16.48 kB / 0.5737 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.365, allocations: 2.469 kB / 0.5737 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3652, allocations: 55.5 kB / 0.5738 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3652, allocations: 5.781 kB / 0.5738 GB, free: 28.26 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.0001085/0.3654, allocations: 145.2 kB / 0.5739 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3654, allocations: 10.09 kB / 0.5739 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3654, allocations: 19.12 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3654, allocations: 6.281 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3654, allocations: 0.9375 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3654, allocations: 1.953 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3656, allocations: 208.1 kB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3656, allocations: 1 kB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.3657, allocations: 11.39 kB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3657, allocations: 6 kB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3657, allocations: 7.422 kB / 0.5742 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3657, allocations: 2.125 kB / 0.5742 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3657, allocations: 1.219 kB / 0.5742 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.366, allocations: 209.9 kB / 0.5744 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.366, allocations: 93.95 kB / 0.5744 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.366, allocations: 3.219 kB / 0.5745 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.3661, allocations: 12.55 kB / 0.5745 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.3662, allocations: 8.938 kB / 0.5745 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3662, allocations: 13.91 kB / 0.5745 GB, free: 27.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.3663, allocations: 103.3 kB / 0.5746 GB, free: 27.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3663, allocations: 5.281 kB / 0.5746 GB, free: 27.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.3666, allocations: 101.3 kB / 0.5747 GB, free: 27.54 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.0005728/0.3672, allocations: 0.8391 MB / 0.5755 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3675, allocations: 219.4 kB / 0.5757 GB, free: 26.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3675, allocations: 6.688 kB / 0.5757 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.3676, allocations: 57.45 kB / 0.5758 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.3678, allocations: 17.73 kB / 0.5758 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3694, allocations: 1.809 MB / 0.5776 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3695, allocations: 0.7107 MB / 0.5783 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.3696, allocations: 13.59 kB / 0.5783 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.3696, allocations: 33.42 kB / 0.5783 GB, free: 24.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3696, allocations: 0 / 0.5783 GB, free: 24.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4047/0.7743, allocations: 4.561 MB / 0.5828 GB, free: 23.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/8.073, allocations: 5.141 kB / 0.5828 GB, free: 23.14 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)