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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001089/0.001089, allocations: 185 kB / 498.1 MB, free: 5.684 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.619/1.619, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009269/0.0009268, allocations: 95.95 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004437, allocations: 9.281 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3766, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.5756, allocations: 149.7 MB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.576, allocations: 71.95 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.5902, allocations: 5.068 MB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5903, allocations: 0 / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5903, allocations: 4 kB / 1.374 GB, free: 7.223 MB / 0.8698 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.000655/0.591, allocations: 467.3 kB / 1.375 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.591, allocations: 12.03 kB / 1.375 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.5911, allocations: 15.81 kB / 1.375 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5914, allocations: 214.8 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5915, allocations: 4 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.5915, allocations: 19.98 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.5917, allocations: 105.5 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5917, allocations: 0 / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5918, allocations: 0 / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5918, allocations: 0 / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.5919, allocations: 55.89 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.5922, allocations: 255.3 kB / 1.375 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5924, allocations: 116.6 kB / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.5924, allocations: 0 / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.5926, allocations: 143.8 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 2.676e-06/0.5926, allocations: 0 / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0005652/0.5932, allocations: 461.3 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.5933, allocations: 122.7 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.5934, allocations: 130.5 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.5935, allocations: 37.7 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.5935, allocations: 100.7 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.5936, allocations: 51.34 kB / 1.376 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.5936, allocations: 4 kB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5938, allocations: 330.8 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.5939, allocations: 52.25 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.5941, allocations: 203 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5942, allocations: 67.92 kB / 1.377 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5943, allocations: 4 kB / 1.377 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002953/0.5946, allocations: 197.3 kB / 1.377 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5946, allocations: 4 kB / 1.377 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.5946, allocations: 12 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5946, allocations: 0 / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.5947, allocations: 15.98 kB / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5948, allocations: 0 / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.595, allocations: 51.8 kB / 1.377 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.595, allocations: 12.17 kB / 1.377 GB, free: 3.648 MB / 0.8698 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.0001329/0.5951, allocations: 156.1 kB / 1.377 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.5952, allocations: 7.906 kB / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.5952, allocations: 16.72 kB / 1.377 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5952, allocations: 0 / 1.377 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5952, allocations: 4 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5953, allocations: 0 / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.5955, allocations: 209.5 kB / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5955, allocations: 3.938 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.5955, allocations: 15.92 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5955, allocations: 8 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5955, allocations: 0 / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5956, allocations: 4 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5956, allocations: 0 / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.5959, allocations: 248.4 kB / 1.378 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.5959, allocations: 88.95 kB / 1.378 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.596, allocations: 4 kB / 1.378 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.596, allocations: 11.98 kB / 1.378 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.5961, allocations: 11.92 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5961, allocations: 7.938 kB / 1.378 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.5962, allocations: 105.6 kB / 1.378 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5962, allocations: 0 / 1.378 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004709/0.5967, allocations: 119.9 kB / 1.378 GB, free: 2.531 MB / 0.8698 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.0003396/0.597, allocations: 219.1 kB / 1.378 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.5974, allocations: 222.7 kB / 1.379 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5974, allocations: 0 / 1.379 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.5975, allocations: 59.91 kB / 1.379 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.5976, allocations: 7.938 kB / 1.379 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.5981, allocations: 267.9 kB / 1.379 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5985, allocations: 0.7203 MB / 1.38 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.373e-05/0.5985, allocations: 17.14 kB / 1.38 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.5986, allocations: 15.44 kB / 1.38 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.5986, allocations: 0 / 1.38 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of Templates: time 0.005865/0.6044, allocations: 2.821 MB / 1.382 GB, free: 14.14 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches