Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001241/0.00124, allocations: 107.2 kB / 16.27 MB, free: 6.395 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.001285/0.001285, allocations: 189.6 kB / 17.2 MB, free: 5.938 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.221/1.221, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.83 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3472, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003239/0.3505, allocations: 1.472 MB / 0.5687 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3516, allocations: 0.6968 MB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.3517, allocations: 3.531 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.946e-05/0.3518, allocations: 8.203 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.3519, allocations: 13.3 kB / 0.5694 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008695/0.3527, allocations: 335.1 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.353, allocations: 171.3 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.353, allocations: 6.562 kB / 0.5699 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.3531, allocations: 68.98 kB / 0.57 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.3532, allocations: 56.73 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.3532, allocations: 15.41 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.3536, allocations: 258.5 kB / 0.5703 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.3537, allocations: 35.38 kB / 0.5703 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3538, allocations: 64.53 kB / 0.5704 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.3543, allocations: 295.3 kB / 0.5707 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3543, allocations: 0.5156 kB / 0.5707 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.3544, allocations: 1.156 kB / 0.5707 GB, free: 30.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3544, allocations: 0 / 0.5707 GB, free: 30.69 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.0006593/0.355, allocations: 470.5 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3551, allocations: 10.72 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.3551, allocations: 40.86 kB / 0.5712 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.3552, allocations: 12.69 kB / 0.5712 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3554, allocations: 216.7 kB / 0.5714 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3554, allocations: 13.45 kB / 0.5714 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.3555, allocations: 8.156 kB / 0.5714 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3557, allocations: 97.67 kB / 0.5715 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3557, allocations: 10.09 kB / 0.5715 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3557, allocations: 0 / 0.5715 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3557, allocations: 1.219 kB / 0.5715 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.3558, allocations: 51.23 kB / 0.5716 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.356, allocations: 246.6 kB / 0.5718 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3562, allocations: 109.2 kB / 0.5719 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.3563, allocations: 74.41 kB / 0.572 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.3563, allocations: 2.562 kB / 0.572 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.3565, allocations: 143.5 kB / 0.5721 GB, free: 29.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.3565, allocations: 0 / 0.5721 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004003/0.3569, allocations: 215.8 kB / 0.5723 GB, free: 29.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.357, allocations: 122.5 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3571, allocations: 144.2 kB / 0.5726 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3571, allocations: 35.61 kB / 0.5726 GB, free: 29.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.3572, allocations: 100.2 kB / 0.5727 GB, free: 28.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3572, allocations: 54.58 kB / 0.5728 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.3573, allocations: 58.92 kB / 0.5728 GB, free: 28.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.3574, allocations: 327.9 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3575, allocations: 51.94 kB / 0.5732 GB, free: 28.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.3577, allocations: 184.1 kB / 0.5733 GB, free: 28.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3579, allocations: 134.5 kB / 0.5735 GB, free: 28.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3579, allocations: 1.25 kB / 0.5735 GB, free: 28.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003107/0.3582, allocations: 197.3 kB / 0.5737 GB, free: 28.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3582, allocations: 5.609 kB / 0.5737 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.3583, allocations: 8.906 kB / 0.5737 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3583, allocations: 2.188 kB / 0.5737 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.3584, allocations: 16.55 kB / 0.5737 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3584, allocations: 3.062 kB / 0.5737 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3586, allocations: 51.09 kB / 0.5737 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3586, allocations: 6.438 kB / 0.5738 GB, free: 28.22 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.0001109/0.3587, allocations: 149.4 kB / 0.5739 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3588, allocations: 11.42 kB / 0.5739 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3588, allocations: 12.86 kB / 0.5739 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3588, allocations: 2.281 kB / 0.5739 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3588, allocations: 1.094 kB / 0.5739 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3588, allocations: 3.281 kB / 0.5739 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.359, allocations: 212.4 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.359, allocations: 1.969 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3591, allocations: 9.453 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3591, allocations: 2.125 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3591, allocations: 3.531 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3591, allocations: 3.25 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3591, allocations: 3.938 kB / 0.5741 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.3594, allocations: 215.1 kB / 0.5744 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.3594, allocations: 94.45 kB / 0.5744 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3594, allocations: 8.141 kB / 0.5745 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.223e-05/0.3595, allocations: 8.938 kB / 0.5745 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.3596, allocations: 12.95 kB / 0.5745 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3596, allocations: 5.266 kB / 0.5745 GB, free: 27.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.3596, allocations: 106.1 kB / 0.5746 GB, free: 27.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3596, allocations: 2.875 kB / 0.5746 GB, free: 27.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.36, allocations: 102 kB / 0.5747 GB, free: 27.5 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.0006335/0.3607, allocations: 0.8371 MB / 0.5755 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003214/0.361, allocations: 228 kB / 0.5757 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.361, allocations: 0 / 0.5757 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.086e-05/0.3611, allocations: 58.28 kB / 0.5758 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.3613, allocations: 17.53 kB / 0.5758 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3631, allocations: 1.815 MB / 0.5776 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3633, allocations: 0.7059 MB / 0.5782 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.975e-05/0.3633, allocations: 14.98 kB / 0.5783 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.3634, allocations: 35.11 kB / 0.5783 GB, free: 24.51 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3634, allocations: 1.125 kB / 0.5783 GB, free: 24.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3173/0.6808, allocations: 4.561 MB / 0.5828 GB, free: 23.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/8.019, allocations: 5.203 kB / 0.5828 GB, free: 23.05 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)