Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.476/2.476, 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.001231/0.001231, allocations: 172.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.51/1.51, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.0009799/0.0009799, allocations: 106.7 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.585e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2702, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.336, allocations: 149 MB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004267/1.337, allocations: 75.8 kB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01778/1.355, allocations: 5.015 MB / 1.356 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.355, allocations: 0 / 1.356 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.355, allocations: 0 / 1.356 GB, free: 33.51 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.0006973/1.355, allocations: 457 kB / 1.357 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.355, allocations: 12.06 kB / 1.357 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/1.356, allocations: 11.59 kB / 1.357 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/1.356, allocations: 220.1 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.356, allocations: 5.031 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/1.356, allocations: 7.688 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/1.356, allocations: 43.31 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/1.356, allocations: 98.83 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.356, allocations: 0 / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.356, allocations: 7.875 kB / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.356, allocations: 0 / 1.357 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/1.357, allocations: 232.8 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/1.357, allocations: 100.6 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/1.357, allocations: 69.09 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/1.357, allocations: 3.844 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/1.357, allocations: 131.4 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/1.357, allocations: 0 / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0004201/1.357, allocations: 181 kB / 1.358 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.357, allocations: 117 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/1.358, allocations: 120 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/1.358, allocations: 32.95 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/1.358, allocations: 102.8 kB / 1.358 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/1.358, allocations: 56.12 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/1.358, allocations: 0 / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.358, allocations: 323.5 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/1.358, allocations: 47 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/1.358, allocations: 189.3 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/1.358, allocations: 74.62 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.358, allocations: 4 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002751/1.359, allocations: 191.6 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.359, allocations: 7.906 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/1.359, allocations: 10.81 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.359, allocations: 0 / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/1.359, allocations: 17.17 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/1.359, allocations: 4.562 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.359, allocations: 48.23 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/1.359, allocations: 10.64 kB / 1.359 GB, free: 31.51 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.0001077/1.359, allocations: 114.9 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002585/1.359, allocations: 191.6 kB / 1.36 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/1.36, allocations: 11.69 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/1.36, allocations: 15.45 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.36, allocations: 3.094 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.36, allocations: 0 / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.36, allocations: 7.906 kB / 1.36 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/1.36, allocations: 183.9 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.36, allocations: 0 / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/1.36, allocations: 14.25 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.36, allocations: 3.844 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.36, allocations: 0 / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.36, allocations: 3.969 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.36, allocations: 0 / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/1.36, allocations: 255.8 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/1.36, allocations: 84.86 kB / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/1.36, allocations: 3.562 kB / 1.36 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/1.36, allocations: 10.58 kB / 1.36 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/1.36, allocations: 9.922 kB / 1.36 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/1.36, allocations: 10.8 kB / 1.36 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.928e-05/1.36, allocations: 105.6 kB / 1.36 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.36, allocations: 0 / 1.36 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004803/1.361, allocations: 107.5 kB / 1.36 GB, free: 30.82 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.000766/1.362, allocations: 1.02 MB / 1.361 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002604/1.362, allocations: 207.3 kB / 1.362 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.362, allocations: 0 / 1.362 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/1.362, allocations: 50.33 kB / 1.362 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/1.362, allocations: 20.73 kB / 1.362 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/1.363, allocations: 257.3 kB / 1.362 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/1.363, allocations: 0.7153 MB / 1.363 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.249e-05/1.363, allocations: 11.56 kB / 1.363 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/1.363, allocations: 29.38 kB / 1.363 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.363, allocations: 3.938 kB / 1.363 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/1.386, allocations: 3.862 MB / 1.366 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.386, allocations: 159.6 kB / 1.367 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/3.149, allocations: 6.75 kB / 1.367 GB, free: 28.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat does not exist to compare? outputFormat=mat