Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 190.6 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 116.8 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 7 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.273, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.4568, allocations: 150.4 MB / 1.376 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4571, allocations: 67.97 kB / 1.376 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.4729, allocations: 5.067 MB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/0.473, allocations: 0 / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.473, allocations: 4 kB / 1.381 GB, free: 13.92 MB / 0.8855 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.0007338/0.4737, allocations: 470.8 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4738, allocations: 8.031 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.861e-05/0.4739, allocations: 42.55 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.4739, allocations: 11.91 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.4743, allocations: 218.7 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4743, allocations: 8 kB / 1.382 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.4744, allocations: 16 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.4746, allocations: 104.2 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4746, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4746, allocations: 3.938 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4746, allocations: 4 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.4748, allocations: 47.91 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.4751, allocations: 255.3 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4753, allocations: 111.9 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4753, allocations: 7.984 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.4755, allocations: 138.5 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 1.472e-06/0.4756, allocations: 0 / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0006736/0.4762, allocations: 456.7 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4764, allocations: 122.7 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4765, allocations: 127.2 kB / 1.383 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.4766, allocations: 41.7 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.4767, allocations: 92.7 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.4768, allocations: 67.19 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4768, allocations: 3.938 kB / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.477, allocations: 330.8 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4771, allocations: 52.25 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.4774, allocations: 196.7 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.4776, allocations: 71.86 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4776, allocations: 0 / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003847/0.478, allocations: 201.3 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.478, allocations: 12 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.4781, allocations: 4 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4781, allocations: 0 / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4782, allocations: 23.92 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4782, allocations: 0 / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.4785, allocations: 51.86 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4785, allocations: 8 kB / 1.384 GB, free: 10.29 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.4787, allocations: 148.7 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.4787, allocations: 11.89 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.4788, allocations: 12.72 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4788, allocations: 4 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4788, allocations: 0 / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4788, allocations: 0 / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.4791, allocations: 213.5 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4791, allocations: 7.875 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.4791, allocations: 23.98 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4791, allocations: 0 / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4792, allocations: 4 kB / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4792, allocations: 0 / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4792, allocations: 3.938 kB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.4795, allocations: 238.8 kB / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4796, allocations: 92.86 kB / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4797, allocations: 8 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.4797, allocations: 4 kB / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.4798, allocations: 11.98 kB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.4798, allocations: 11.98 kB / 1.385 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.365e-05/0.4799, allocations: 104.8 kB / 1.385 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4799, allocations: 0 / 1.385 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000548/0.4805, allocations: 123.9 kB / 1.385 GB, free: 9.176 MB / 0.8855 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) * 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 (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.00107/0.4816, allocations: 1.014 MB / 1.386 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.482, allocations: 225.2 kB / 1.387 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.482, allocations: 0 / 1.387 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.4821, allocations: 51.98 kB / 1.387 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.4822, allocations: 12.81 kB / 1.387 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4839, allocations: 1.176 MB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.4842, allocations: 0.7126 MB / 1.388 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.849e-05/0.4843, allocations: 12.88 kB / 1.388 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.4844, allocations: 31.38 kB / 1.388 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of SimCode: time 6.042e-06/0.4844, allocations: 0 / 1.388 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.5019, allocations: 4.218 MB / 1.393 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.5022, allocations: 212.6 kB / 1.393 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.193, allocations: 0 / 1.393 GB, free: 1.539 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat does not exist to compare? outputFormat=mat