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.22/2.22, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001047/0.001047, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.546/1.546, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008681, allocations: 95.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2734, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.319, allocations: 148.9 MB / 1.351 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/1.32, allocations: 71.73 kB / 1.352 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/1.335, allocations: 5.008 MB / 1.356 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/1.335, allocations: 0 / 1.356 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.335, allocations: 3.875 kB / 1.356 GB, free: 33.38 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.0006419/1.336, allocations: 460 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.336, allocations: 12.06 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/1.336, allocations: 11.56 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/1.336, allocations: 215.8 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.336, allocations: 3.844 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/1.336, allocations: 10.06 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/1.337, allocations: 40.86 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/1.337, allocations: 100.6 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.337, allocations: 0 / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.337, allocations: 0 / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.337, allocations: 3.969 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/1.337, allocations: 222.1 kB / 1.357 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.337, allocations: 109.3 kB / 1.358 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/1.337, allocations: 74.42 kB / 1.358 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/1.337, allocations: 0 / 1.358 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/1.337, allocations: 137.7 kB / 1.358 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/1.337, allocations: 0 / 1.358 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.00043/1.338, allocations: 187.8 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.338, allocations: 113.7 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.338, allocations: 120.3 kB / 1.358 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/1.338, allocations: 32.8 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/1.338, allocations: 98.56 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/1.338, allocations: 51.36 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/1.338, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.338, allocations: 326.8 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/1.339, allocations: 43.61 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/1.339, allocations: 190.7 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.339, allocations: 80.22 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.339, allocations: 0 / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002774/1.339, allocations: 200 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.339, allocations: 10.34 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/1.339, allocations: 6.469 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.339, allocations: 3.844 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/1.339, allocations: 11.62 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/1.339, allocations: 6.781 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/1.34, allocations: 50.17 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/1.34, allocations: 7.375 kB / 1.359 GB, free: 31.38 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.000115/1.34, allocations: 120.2 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002577/1.34, allocations: 189 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/1.34, allocations: 7.562 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/1.34, allocations: 12.38 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.34, allocations: 3.812 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.34, allocations: 0 / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.34, allocations: 2.953 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/1.34, allocations: 188.6 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.34, allocations: 0 / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/1.34, allocations: 20.48 kB / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.34, allocations: 0 / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/1.34, allocations: 5.562 kB / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.34, allocations: 3.875 kB / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.34, allocations: 0 / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/1.341, allocations: 242 kB / 1.36 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/1.341, allocations: 85.11 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/1.341, allocations: 5.641 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/1.341, allocations: 5.125 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/1.341, allocations: 10.56 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/1.341, allocations: 16.97 kB / 1.36 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.408e-05/1.341, allocations: 106.6 kB / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.341, allocations: 0 / 1.36 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005234/1.341, allocations: 112.4 kB / 1.36 GB, free: 30.69 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.0008478/1.342, allocations: 1.018 MB / 1.361 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002449/1.343, allocations: 203.6 kB / 1.362 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.343, allocations: 0 / 1.362 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/1.343, allocations: 62.02 kB / 1.362 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/1.343, allocations: 10.8 kB / 1.362 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/1.343, allocations: 263.6 kB / 1.362 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/1.344, allocations: 0.7135 MB / 1.363 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.882e-05/1.344, allocations: 14.39 kB / 1.363 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/1.344, allocations: 30.98 kB / 1.363 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.344, allocations: 0 / 1.363 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.364, allocations: 3.856 MB / 1.366 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.365, allocations: 167.4 kB / 1.366 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/3.183, allocations: 0 / 1.366 GB, free: 28.35 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