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.248/2.248, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001265/0.001265, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.493/1.493, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009483/0.0009482, allocations: 105.7 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.128e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2866, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9984/1.285, allocations: 149.6 MB / 1.359 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.285, allocations: 69.22 kB / 1.359 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01402/1.299, allocations: 5.043 MB / 1.364 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.522e-06/1.299, allocations: 0 / 1.364 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.848e-06/1.299, allocations: 0 / 1.364 GB, free: 34.36 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.0005593/1.3, allocations: 466.6 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.3, allocations: 7.719 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/1.3, allocations: 37.59 kB / 1.364 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/1.3, allocations: 14.62 kB / 1.364 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/1.3, allocations: 210.3 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/1.3, allocations: 10.72 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.301, allocations: 11.41 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/1.301, allocations: 107.4 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.301, allocations: 0 / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.301, allocations: 0 / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.301, allocations: 3.969 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-05/1.301, allocations: 53.7 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/1.301, allocations: 252.6 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.301, allocations: 114.8 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/1.301, allocations: 71.89 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/1.301, allocations: 3.984 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/1.302, allocations: 151.9 kB / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/1.302, allocations: 0 / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003006/1.302, allocations: 172.2 kB / 1.365 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.302, allocations: 119.7 kB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/1.302, allocations: 131.9 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.302, allocations: 37.14 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/1.302, allocations: 97.59 kB / 1.366 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/1.302, allocations: 59.41 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/1.302, allocations: 3.25 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/1.302, allocations: 328.5 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/1.302, allocations: 51.33 kB / 1.366 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/1.303, allocations: 198.8 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.303, allocations: 68.95 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.303, allocations: 0 / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002456/1.303, allocations: 196.1 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.303, allocations: 11.78 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/1.303, allocations: 6.781 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.303, allocations: 0 / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/1.303, allocations: 14.62 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.303, allocations: 0 / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/1.303, allocations: 56.72 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/1.303, allocations: 12.84 kB / 1.367 GB, free: 32.28 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 9.098e-05/1.303, allocations: 133.2 kB / 1.367 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/1.303, allocations: 11.69 kB / 1.367 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/1.304, allocations: 15 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.304, allocations: 0 / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.304, allocations: 3.875 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.304, allocations: 0 / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/1.304, allocations: 216.5 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.304, allocations: 0 / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/1.304, allocations: 19.56 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.304, allocations: 2.719 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.304, allocations: 3.812 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.304, allocations: 0 / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.304, allocations: 0 / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/1.304, allocations: 244.4 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/1.304, allocations: 91.55 kB / 1.367 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/1.304, allocations: 3.938 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/1.304, allocations: 3.844 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/1.304, allocations: 20.7 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/1.304, allocations: 3.969 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.157e-05/1.304, allocations: 103.6 kB / 1.367 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.304, allocations: 3.875 kB / 1.367 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000404/1.305, allocations: 127.9 kB / 1.368 GB, free: 31.61 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.0006787/1.305, allocations: 1.016 MB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002688/1.306, allocations: 212.1 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.306, allocations: 0 / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/1.306, allocations: 55.39 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/1.306, allocations: 20.42 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/1.306, allocations: 271.2 kB / 1.369 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.307, allocations: 0.7154 MB / 1.37 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.863e-05/1.307, allocations: 11.72 kB / 1.37 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/1.307, allocations: 34.61 kB / 1.37 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.307, allocations: 0 / 1.37 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/1.323, allocations: 4.23 MB / 1.374 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/1.323, allocations: 177.5 kB / 1.374 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.96, allocations: 4 kB / 1.374 GB, free: 29.2 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