Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 169 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.3 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007755/0.0007754, allocations: 92.45 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.765e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6358, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.8291, allocations: 138.6 MB / 1.109 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.8294, allocations: 76.78 kB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.8437, allocations: 4.945 MB / 1.114 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8438, allocations: 1.406 kB / 1.114 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.8438, allocations: 4 kB / 1.114 GB, free: 6.555 MB / 0.7136 GB 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.0006307/0.8444, allocations: 462 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.8445, allocations: 8.031 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.8445, allocations: 11.91 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.8449, allocations: 214.8 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.8449, allocations: 0 / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.8449, allocations: 12 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001284/0.8451, allocations: 43.97 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8452, allocations: 97.27 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8453, allocations: 0 / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.8453, allocations: 5.219 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.8453, allocations: 4 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.8456, allocations: 219.9 kB / 1.115 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.8457, allocations: 107.8 kB / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.8458, allocations: 66.72 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.8459, allocations: 4 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.8461, allocations: 142.2 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 2.735e-06/0.8461, allocations: 3.984 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0004368/0.8465, allocations: 181.3 kB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.8466, allocations: 114.8 kB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.8467, allocations: 126.1 kB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.8468, allocations: 33.7 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.8468, allocations: 96.69 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.8469, allocations: 54.45 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.8469, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.847, allocations: 326.8 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.8471, allocations: 48.27 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.8473, allocations: 187 kB / 1.116 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.8475, allocations: 66.25 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8475, allocations: 4 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003188/0.8478, allocations: 198.1 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8479, allocations: 5.562 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.8479, allocations: 11.98 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8479, allocations: 0 / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.848, allocations: 19.94 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.848, allocations: 0 / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.8483, allocations: 43.89 kB / 1.116 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.8483, allocations: 15.98 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB 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 9.744e-05/0.8484, allocations: 119.2 kB / 1.116 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002896/0.8487, allocations: 182.7 kB / 1.117 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.8487, allocations: 11.81 kB / 1.117 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.8488, allocations: 12.62 kB / 1.117 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8488, allocations: 4 kB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8488, allocations: 0 / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8488, allocations: 0 / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.849, allocations: 182.1 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.849, allocations: 4 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.849, allocations: 11.95 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.849, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.8491, allocations: 8 kB / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8491, allocations: 0 / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.8491, allocations: 3.984 kB / 1.117 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.8494, allocations: 250 kB / 1.117 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.8495, allocations: 89.02 kB / 1.117 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.8495, allocations: 4 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.8496, allocations: 7.984 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.8496, allocations: 5.219 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.8496, allocations: 7.984 kB / 1.117 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.465e-05/0.8497, allocations: 107.3 kB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8497, allocations: 0 / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004203/0.8501, allocations: 115.9 kB / 1.117 GB, free: 2.176 MB / 0.7136 GB 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.0008492/0.851, allocations: 1.016 MB / 1.118 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.8513, allocations: 209 kB / 1.119 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8513, allocations: 3.938 kB / 1.119 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.8514, allocations: 52.11 kB / 1.119 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.8515, allocations: 19.89 kB / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.8521, allocations: 257.5 kB / 1.119 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.8524, allocations: 0.7144 MB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.32e-05/0.8524, allocations: 16.86 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.8525, allocations: 31.42 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.8525, allocations: 0 / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.8753, allocations: 3.853 MB / 1.123 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/0.8757, allocations: 168.1 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.727, allocations: 1.562 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)