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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5238/0.5238, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.94 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.81e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 72.3 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6654, allocations: 101.3 MB / 0.6525 GB, free: 9.055 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.6657, allocations: 72.2 kB / 0.6526 GB, free: 9.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01367/0.6794, allocations: 5.011 MB / 0.6574 GB, free: 4.734 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6795, allocations: 0 / 0.6574 GB, free: 4.734 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.6795, allocations: 11.94 kB / 0.6575 GB, free: 4.723 MB / 458.7 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.0005892/0.6801, allocations: 451.8 kB / 0.6579 GB, free: 4.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6801, allocations: 8.031 kB / 0.6579 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.6802, allocations: 23.75 kB / 0.6579 GB, free: 4.219 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.6805, allocations: 202.9 kB / 0.6581 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.6806, allocations: 4 kB / 0.6581 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.6806, allocations: 19.38 kB / 0.6581 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/0.6807, allocations: 41.91 kB / 0.6582 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.6809, allocations: 97.11 kB / 0.6583 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6809, allocations: 0 / 0.6583 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6809, allocations: 0 / 0.6583 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.6809, allocations: 7.953 kB / 0.6583 GB, free: 3.832 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.6812, allocations: 230.8 kB / 0.6585 GB, free: 3.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.6813, allocations: 103.8 kB / 0.6586 GB, free: 3.477 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.742e-05/0.6814, allocations: 70.86 kB / 0.6587 GB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.6815, allocations: 0 / 0.6587 GB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.6816, allocations: 135.9 kB / 0.6588 GB, free: 3.277 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 1.143e-06/0.6817, allocations: 0 / 0.6588 GB, free: 3.277 MB / 458.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003933/0.6821, allocations: 187.8 kB / 0.659 GB, free: 3.117 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.6821, allocations: 110.8 kB / 0.6591 GB, free: 2.984 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6822, allocations: 136.5 kB / 0.6592 GB, free: 2.859 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.6823, allocations: 29.7 kB / 0.6592 GB, free: 2.824 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.6823, allocations: 91.89 kB / 0.6593 GB, free: 2.738 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.6824, allocations: 53.41 kB / 0.6594 GB, free: 2.695 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.6824, allocations: 0 / 0.6594 GB, free: 2.695 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6825, allocations: 329.3 kB / 0.6597 GB, free: 2.371 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.6826, allocations: 50.33 kB / 0.6597 GB, free: 2.336 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.6828, allocations: 187.5 kB / 0.6599 GB, free: 2.129 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.683, allocations: 89 kB / 0.66 GB, free: 2.062 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.683, allocations: 0 / 0.66 GB, free: 2.062 MB / 458.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002906/0.6833, allocations: 191.7 kB / 0.6602 GB, free: 1.898 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6833, allocations: 4 kB / 0.6602 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.6834, allocations: 11.98 kB / 0.6602 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6834, allocations: 0 / 0.6602 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.6835, allocations: 14.88 kB / 0.6602 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6835, allocations: 0 / 0.6602 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.6837, allocations: 51.8 kB / 0.6603 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.6837, allocations: 8 kB / 0.6603 GB, free: 1.812 MB / 458.7 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.6838, allocations: 123 kB / 0.6604 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002743/0.6841, allocations: 169.3 kB / 0.6605 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.6842, allocations: 15.81 kB / 0.6606 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.6842, allocations: 15.17 kB / 0.6606 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6842, allocations: 4 kB / 0.6606 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6842, allocations: 4 kB / 0.6606 GB, free: 1.516 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6842, allocations: 3.938 kB / 0.6606 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.6844, allocations: 182.5 kB / 0.6608 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6844, allocations: 0 / 0.6608 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.6845, allocations: 15.92 kB / 0.6608 GB, free: 1.293 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6845, allocations: 0 / 0.6608 GB, free: 1.293 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.6845, allocations: 7.938 kB / 0.6608 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6845, allocations: 0 / 0.6608 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6845, allocations: 7.984 kB / 0.6608 GB, free: 1.277 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.6848, allocations: 236.7 kB / 0.661 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.6849, allocations: 92.91 kB / 0.6611 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.6849, allocations: 4 kB / 0.6611 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.685, allocations: 4 kB / 0.6611 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.685, allocations: 23.25 kB / 0.6611 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.685, allocations: 4 kB / 0.6611 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.6851, allocations: 103.7 kB / 0.6612 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6851, allocations: 0 / 0.6612 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.6855, allocations: 114.1 kB / 0.6613 GB, free: 0.707 MB / 458.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008277/0.6863, allocations: 1.025 MB / 0.6623 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.6866, allocations: 210.6 kB / 0.6625 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6866, allocations: 0 / 0.6625 GB, free: 15.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.6867, allocations: 49.5 kB / 0.6626 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.6868, allocations: 9.656 kB / 0.6626 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.6874, allocations: 259.1 kB / 0.6629 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.6876, allocations: 0.7123 MB / 0.6635 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.6877, allocations: 12.88 kB / 0.6636 GB, free: 14.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.6877, allocations: 33.05 kB / 0.6636 GB, free: 14.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6878, allocations: 0 / 0.6636 GB, free: 14.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.7124, allocations: 3.852 MB / 0.6674 GB, free: 10.59 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.7128, allocations: 173.4 kB / 0.6675 GB, free: 10.38 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.31, allocations: 0 / 0.6675 GB, free: 10.38 MB / 474.7 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/linux/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)