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.395/2.395, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001348/0.001348, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009132/0.0009132, allocations: 95.88 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.268e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.3, allocations: 150.4 MB / 1.366 GB, free: 3.652 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.3, allocations: 70.64 kB / 1.366 GB, free: 3.613 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0149/1.315, allocations: 5.041 MB / 1.371 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.173e-06/1.315, allocations: 0 / 1.371 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.315, allocations: 0 / 1.371 GB, free: 15.24 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.0006207/1.316, allocations: 464.1 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.316, allocations: 8.031 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/1.316, allocations: 37.5 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/1.316, allocations: 11.91 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/1.316, allocations: 219.7 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/1.316, allocations: 7.188 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/1.317, allocations: 16 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/1.317, allocations: 95.08 kB / 1.372 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.317, allocations: 3.938 kB / 1.372 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.317, allocations: 4 kB / 1.372 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.317, allocations: 0 / 1.372 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/1.317, allocations: 49.28 kB / 1.372 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/1.317, allocations: 258.8 kB / 1.372 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/1.317, allocations: 108 kB / 1.372 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.317, allocations: 73.03 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/1.317, allocations: 3.984 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/1.318, allocations: 147.3 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/1.318, allocations: 0 / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003565/1.318, allocations: 169.2 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/1.318, allocations: 122 kB / 1.372 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.318, allocations: 136.7 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/1.318, allocations: 35.7 kB / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/1.318, allocations: 94.7 kB / 1.373 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/1.318, allocations: 52.72 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/1.318, allocations: 7.5 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.319, allocations: 328.9 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/1.319, allocations: 53.33 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/1.319, allocations: 188.2 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/1.319, allocations: 78.05 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.319, allocations: 0 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002906/1.319, allocations: 201.7 kB / 1.374 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.319, allocations: 8 kB / 1.374 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/1.319, allocations: 8 kB / 1.374 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.319, allocations: 3.984 kB / 1.374 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/1.32, allocations: 19.44 kB / 1.374 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.32, allocations: 0 / 1.374 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/1.32, allocations: 58.92 kB / 1.374 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/1.32, allocations: 4 kB / 1.374 GB, free: 12.22 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.0001021/1.32, allocations: 136.8 kB / 1.374 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/1.32, allocations: 15.8 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/1.32, allocations: 15 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.32, allocations: 4 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.32, allocations: 4 kB / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.32, allocations: 0 / 1.374 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/1.32, allocations: 210 kB / 1.374 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.32, allocations: 0 / 1.374 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/1.32, allocations: 15.98 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.32, allocations: 0 / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/1.32, allocations: 4 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.32, allocations: 240 / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.32, allocations: 0 / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/1.321, allocations: 254.8 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/1.321, allocations: 88.02 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/1.321, allocations: 0 / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/1.321, allocations: 6.812 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/1.321, allocations: 11.98 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/1.321, allocations: 18.75 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.531e-05/1.321, allocations: 107.5 kB / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.321, allocations: 0 / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004542/1.321, allocations: 119 kB / 1.375 GB, free: 11.21 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.0008195/1.322, allocations: 1.007 MB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002868/1.322, allocations: 211.3 kB / 1.376 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.322, allocations: 0 / 1.376 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/1.323, allocations: 57.8 kB / 1.376 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/1.323, allocations: 15.27 kB / 1.376 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/1.323, allocations: 272.2 kB / 1.376 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.324, allocations: 0.7131 MB / 1.377 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.325e-05/1.324, allocations: 17.14 kB / 1.377 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/1.324, allocations: 32.12 kB / 1.377 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.324, allocations: 0 / 1.377 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/1.34, allocations: 4.262 MB / 1.381 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.34, allocations: 180.5 kB / 1.381 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/3.08, allocations: 2.375 kB / 1.381 GB, free: 4.625 MB / 0.8386 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