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.235/2.235, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001146/0.001146, allocations: 176.9 kB / 492.3 MB, free: 0.5898 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.482/1.482, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001091/0.001091, allocations: 91.22 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.307e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2898, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.409, allocations: 149.6 MB / 1.359 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.409, allocations: 73.14 kB / 1.359 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01955/1.429, allocations: 5.037 MB / 1.364 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.429, allocations: 0 / 1.364 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.617e-05/1.429, allocations: 3.969 kB / 1.364 GB, free: 34.42 MB / 0.8386 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.000841/1.43, allocations: 453.9 kB / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/1.43, allocations: 11.62 kB / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/1.43, allocations: 35.83 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/1.43, allocations: 14.78 kB / 1.364 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/1.431, allocations: 223.8 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.431, allocations: 7.094 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/1.431, allocations: 15.47 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/1.431, allocations: 98.53 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.431, allocations: 3.938 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/1.431, allocations: 3.375 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.431, allocations: 0 / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/1.431, allocations: 40.61 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/1.432, allocations: 261.5 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/1.432, allocations: 116 kB / 1.365 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/1.432, allocations: 73.41 kB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/1.432, allocations: 3.781 kB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/1.432, allocations: 138.7 kB / 1.365 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/1.432, allocations: 0 / 1.365 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0005136/1.433, allocations: 182 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.433, allocations: 117.8 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/1.433, allocations: 129.9 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/1.433, allocations: 39.19 kB / 1.365 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/1.433, allocations: 103.1 kB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/1.433, allocations: 51.33 kB / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.433, allocations: 3.562 kB / 1.366 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.433, allocations: 334.3 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/1.434, allocations: 51.17 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.434, allocations: 191.7 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/1.434, allocations: 69.23 kB / 1.366 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.434, allocations: 0 / 1.366 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000434/1.435, allocations: 207.3 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.435, allocations: 6.562 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/1.435, allocations: 7.688 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.435, allocations: 0 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/1.435, allocations: 18.39 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.435, allocations: 0 / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/1.435, allocations: 56.92 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.435, allocations: 11.38 kB / 1.366 GB, free: 32.34 MB / 0.8386 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 0.0001224/1.435, allocations: 128.7 kB / 1.367 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.435, allocations: 15.5 kB / 1.367 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/1.435, allocations: 15.28 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.435, allocations: 0 / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.435, allocations: 2.719 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.435, allocations: 4.016 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/1.436, allocations: 212.5 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.436, allocations: 7.984 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/1.436, allocations: 11.69 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.436, allocations: 3.875 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.436, allocations: 3.047 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.436, allocations: 3.969 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.436, allocations: 0 / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/1.436, allocations: 247.2 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/1.436, allocations: 91.48 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/1.436, allocations: 0 / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/1.436, allocations: 7.656 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/1.437, allocations: 13.88 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/1.437, allocations: 7.719 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.796e-05/1.437, allocations: 106.6 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.437, allocations: 0 / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006906/1.437, allocations: 122.4 kB / 1.367 GB, free: 31.67 MB / 0.8386 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.001187/1.439, allocations: 1.015 MB / 1.368 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004394/1.439, allocations: 209.2 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.439, allocations: 0 / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/1.439, allocations: 55.28 kB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/1.439, allocations: 15.58 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/1.44, allocations: 278.8 kB / 1.369 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.441, allocations: 0.717 MB / 1.37 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.333e-05/1.441, allocations: 11.61 kB / 1.37 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.23e-05/1.441, allocations: 33.83 kB / 1.37 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.441, allocations: 0 / 1.37 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/1.461, allocations: 4.235 MB / 1.374 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.461, allocations: 192.4 kB / 1.374 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/3.214, allocations: 0 / 1.374 GB, free: 29.26 MB / 0.8386 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