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.002321/0.002321, allocations: 180 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5484/0.5484, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008855, allocations: 94.66 kB / 421.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.938e-05, allocations: 0 / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3893, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5226, allocations: 101.9 MB / 0.6598 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.5229, allocations: 67.97 kB / 0.6599 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.5378, allocations: 5.053 MB / 0.6648 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5379, allocations: 4 kB / 0.6648 GB, free: 13.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.5379, allocations: 4 kB / 0.6648 GB, free: 13.27 MB / 490.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.0006468/0.5386, allocations: 454.1 kB / 0.6653 GB, free: 12.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5386, allocations: 11.98 kB / 0.6653 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.5387, allocations: 42.55 kB / 0.6653 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.5388, allocations: 19.77 kB / 0.6653 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.5391, allocations: 207.8 kB / 0.6655 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.5391, allocations: 12 kB / 0.6655 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.5392, allocations: 12 kB / 0.6656 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.5394, allocations: 92.7 kB / 0.6656 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5394, allocations: 0 / 0.6656 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.5394, allocations: 8 kB / 0.6657 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5394, allocations: 3.953 kB / 0.6657 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.5395, allocations: 47.91 kB / 0.6657 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.5398, allocations: 256.1 kB / 0.6659 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.54, allocations: 111.9 kB / 0.6661 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.5401, allocations: 74.66 kB / 0.6661 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.5401, allocations: 4 kB / 0.6661 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.5404, allocations: 143.5 kB / 0.6663 GB, free: 11.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.5404, allocations: 0 / 0.6663 GB, free: 11.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003751/0.5408, allocations: 180.6 kB / 0.6664 GB, free: 11.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.5409, allocations: 126.8 kB / 0.6666 GB, free: 11.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.541, allocations: 127.4 kB / 0.6667 GB, free: 11.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.541, allocations: 35.02 kB / 0.6667 GB, free: 11.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.5411, allocations: 100.6 kB / 0.6668 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.5412, allocations: 59.25 kB / 0.6669 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.5412, allocations: 8 kB / 0.6669 GB, free: 10.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5413, allocations: 322.8 kB / 0.6672 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.5414, allocations: 52.12 kB / 0.6672 GB, free: 10.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5417, allocations: 200.5 kB / 0.6674 GB, free: 10.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.5418, allocations: 74.03 kB / 0.6675 GB, free: 10.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5418, allocations: 0 / 0.6675 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003123/0.5421, allocations: 195 kB / 0.6677 GB, free: 10.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5422, allocations: 9.391 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.5422, allocations: 8 kB / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.5422, allocations: 0 / 0.6677 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.5423, allocations: 19.94 kB / 0.6677 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5423, allocations: 2.25 kB / 0.6677 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.5426, allocations: 59.75 kB / 0.6678 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5426, allocations: 11.98 kB / 0.6678 GB, free: 9.914 MB / 490.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.0001104/0.5427, allocations: 127.2 kB / 0.6679 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.5427, allocations: 7.906 kB / 0.6679 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.5428, allocations: 20.62 kB / 0.6679 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5428, allocations: 4 kB / 0.6679 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5428, allocations: 4 kB / 0.6679 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5428, allocations: 3.984 kB / 0.6679 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.543, allocations: 209.4 kB / 0.6681 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.543, allocations: 0 / 0.6681 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.5431, allocations: 8 kB / 0.6682 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.5431, allocations: 4 kB / 0.6682 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5431, allocations: 0 / 0.6682 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5431, allocations: 4 kB / 0.6682 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5431, allocations: 0 / 0.6682 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.5434, allocations: 249.3 kB / 0.6684 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.5435, allocations: 89.06 kB / 0.6685 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.5435, allocations: 0 / 0.6685 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.5436, allocations: 11.98 kB / 0.6685 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.5436, allocations: 19.92 kB / 0.6685 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.5437, allocations: 8 kB / 0.6685 GB, free: 9.047 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.5438, allocations: 105 kB / 0.6686 GB, free: 8.945 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5438, allocations: 0 / 0.6686 GB, free: 8.945 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.5442, allocations: 121.2 kB / 0.6687 GB, free: 8.828 MB / 490.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.0009353/0.5451, allocations: 1.026 MB / 0.6697 GB, free: 7.762 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.5455, allocations: 215.3 kB / 0.6699 GB, free: 7.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5455, allocations: 3.938 kB / 0.6699 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.36e-05/0.5456, allocations: 48 kB / 0.67 GB, free: 7.484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.5457, allocations: 15.92 kB / 0.67 GB, free: 7.469 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.5463, allocations: 279.7 kB / 0.6703 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.5466, allocations: 0.7126 MB / 0.671 GB, free: 6.422 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.5467, allocations: 12.88 kB / 0.671 GB, free: 6.406 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.5468, allocations: 31.42 kB / 0.671 GB, free: 6.375 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5468, allocations: 4 kB / 0.671 GB, free: 6.371 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.5635, allocations: 4.227 MB / 0.6751 GB, free: 2.348 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.5638, allocations: 182.4 kB / 0.6753 GB, free: 2.117 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.221, allocations: 0 / 0.6753 GB, free: 2.117 MB / 490.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)