Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.309/2.309, 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.001216/0.001216, allocations: 183.3 kB / 0.4901 GB, free: 2.25 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.504/1.504, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009261/0.000926, allocations: 109 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.000396, allocations: 10.34 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.4865, allocations: 150.5 MB / 1.376 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4868, allocations: 67.97 kB / 1.376 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0147/0.5015, allocations: 5.078 MB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5015, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.5015, allocations: 4 kB / 1.381 GB, free: 13.86 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.0006279/0.5022, allocations: 470.8 kB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5022, allocations: 8.031 kB / 1.382 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.5023, allocations: 38.55 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.5024, allocations: 11.91 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.5027, allocations: 222.8 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.5028, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.5028, allocations: 12 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.503, allocations: 104.2 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.503, allocations: 4 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.503, allocations: 0 / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.503, allocations: 4 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.5031, allocations: 47.97 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.5034, allocations: 259.2 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5036, allocations: 119.8 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5036, allocations: 3.938 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.5038, allocations: 136.8 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.655e-06/0.5038, allocations: 4 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0005612/0.5044, allocations: 460.6 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.5045, allocations: 118.8 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.5046, allocations: 126.4 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.5046, allocations: 33.7 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.5047, allocations: 96.7 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.5048, allocations: 67.17 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5048, allocations: 4 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5049, allocations: 334.7 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.505, allocations: 52.25 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.5052, allocations: 199 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.5054, allocations: 63.92 kB / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5054, allocations: 0 / 1.384 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003099/0.5057, allocations: 205.3 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5057, allocations: 8.875 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.5058, allocations: 8 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5058, allocations: 4 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.5059, allocations: 12 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5059, allocations: 7.984 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.5061, allocations: 47.86 kB / 1.384 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.5061, allocations: 8 kB / 1.384 GB, free: 10.23 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.0001338/0.5063, allocations: 152.7 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.5063, allocations: 7.906 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.5063, allocations: 16.7 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5063, allocations: 0 / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5064, allocations: 4 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.5064, allocations: 0 / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.5066, allocations: 213.5 kB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5066, allocations: 0 / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.5066, allocations: 11.94 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5066, allocations: 4 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5066, allocations: 11.92 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5067, allocations: 4 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5067, allocations: 0 / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.507, allocations: 237.5 kB / 1.385 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.507, allocations: 93 kB / 1.385 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5071, allocations: 11.98 kB / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.5071, allocations: 4 kB / 1.385 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.5072, allocations: 11.98 kB / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.5072, allocations: 7.984 kB / 1.385 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.607e-05/0.5073, allocations: 112.6 kB / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5073, allocations: 0 / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004152/0.5077, allocations: 115.9 kB / 1.385 GB, free: 9.117 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.0009156/0.5086, allocations: 1.015 MB / 1.386 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.509, allocations: 220.9 kB / 1.387 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.509, allocations: 4 kB / 1.387 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.5091, allocations: 59.92 kB / 1.387 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.5092, allocations: 8.812 kB / 1.387 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.5107, allocations: 1.171 MB / 1.388 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.511, allocations: 0.7126 MB / 1.389 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.274e-05/0.511, allocations: 12.88 kB / 1.389 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.5111, allocations: 31.44 kB / 1.389 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5111, allocations: 3.938 kB / 1.389 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.5299, allocations: 4.218 MB / 1.393 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/0.5301, allocations: 217.4 kB / 1.393 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.206, allocations: 0 / 1.393 GB, free: 1.469 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat does not exist to compare? outputFormat=mat