Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001049/0.001049, allocations: 175.3 kB / 498.1 MB, free: 5.758 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.425/1.425, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009671/0.000967, allocations: 94.61 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003402, allocations: 7 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.412, allocations: 149.7 MB / 1.369 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4123, allocations: 71.95 kB / 1.369 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.427, allocations: 5.064 MB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4271, allocations: 0 / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.4271, allocations: 4 kB / 1.374 GB, free: 7.258 MB / 0.8698 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.0009063/0.428, allocations: 466.8 kB / 1.375 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.4281, allocations: 12.03 kB / 1.375 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.348e-05/0.4282, allocations: 38.55 kB / 1.375 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.4283, allocations: 19.75 kB / 1.375 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.4287, allocations: 216.7 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4287, allocations: 7.938 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.4288, allocations: 12 kB / 1.375 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.429, allocations: 100.2 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4291, allocations: 0 / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4291, allocations: 7.938 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4291, allocations: 0 / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.4292, allocations: 51.91 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.4296, allocations: 255.3 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.4298, allocations: 112.6 kB / 1.375 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4298, allocations: 0 / 1.375 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.43, allocations: 146.4 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.43, allocations: 0 / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0006693/0.4307, allocations: 457.5 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4308, allocations: 122.8 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.431, allocations: 130.8 kB / 1.376 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.4311, allocations: 33.7 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.4312, allocations: 100.6 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.4313, allocations: 59.33 kB / 1.376 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.4313, allocations: 4 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4315, allocations: 326.8 kB / 1.377 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.4316, allocations: 52.25 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.4319, allocations: 199.1 kB / 1.377 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.4321, allocations: 75.86 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4321, allocations: 0 / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000398/0.4325, allocations: 205.5 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4325, allocations: 4 kB / 1.377 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.4325, allocations: 4.078 kB / 1.377 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.4326, allocations: 4 kB / 1.377 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4327, allocations: 19.86 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.4327, allocations: 11.98 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4329, allocations: 51.8 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.433, allocations: 8 kB / 1.377 GB, free: 3.625 MB / 0.8698 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.0001978/0.4332, allocations: 144.5 kB / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.4332, allocations: 11.91 kB / 1.377 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.4333, allocations: 20.7 kB / 1.377 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4333, allocations: 0 / 1.377 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.4333, allocations: 8 kB / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4333, allocations: 0 / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.4336, allocations: 209.5 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4336, allocations: 0 / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.4336, allocations: 8 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4336, allocations: 4 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4337, allocations: 3.984 kB / 1.378 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4337, allocations: 4 kB / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4337, allocations: 4 kB / 1.378 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.4341, allocations: 245.9 kB / 1.378 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.4341, allocations: 96.83 kB / 1.378 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.4342, allocations: 4 kB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.4343, allocations: 8 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.4343, allocations: 11.98 kB / 1.378 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4344, allocations: 7.984 kB / 1.378 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.364e-05/0.4344, allocations: 109.1 kB / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4344, allocations: 0 / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005034/0.435, allocations: 111.9 kB / 1.378 GB, free: 2.523 MB / 0.8698 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.001072/0.436, allocations: 1.022 MB / 1.379 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.4364, allocations: 217 kB / 1.379 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4364, allocations: 0 / 1.379 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4365, allocations: 68.08 kB / 1.379 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.4367, allocations: 9.078 kB / 1.379 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4383, allocations: 1.164 MB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4386, allocations: 0.7126 MB / 1.381 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.4386, allocations: 12.88 kB / 1.381 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.4387, allocations: 31.44 kB / 1.381 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.4387, allocations: 3.938 kB / 1.381 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.4561, allocations: 4.208 MB / 1.385 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.4564, allocations: 202.3 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.166, allocations: 2.25 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat does not exist to compare? outputFormat=mat