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: 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_latest_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_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.348/2.348, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001189/0.001189, allocations: 191.9 kB / 0.4902 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.654/1.654, 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.0008893/0.0008894, allocations: 102.3 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 7.125 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3237, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.5306, allocations: 150.5 MB / 1.376 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.531, allocations: 71.95 kB / 1.376 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.546, allocations: 5.067 MB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.794e-06/0.546, allocations: 0 / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.546, allocations: 0 / 1.381 GB, free: 13.92 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.0006554/0.5467, allocations: 463.8 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.5468, allocations: 12.03 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.5468, allocations: 15.91 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.5472, allocations: 218.8 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.5472, allocations: 7.938 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5473, allocations: 12 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.5475, allocations: 96.23 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5475, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5475, allocations: 3.984 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5475, allocations: 4 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.5477, allocations: 55.91 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.548, allocations: 251.3 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.5481, allocations: 115.8 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.5482, allocations: 4 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.5484, allocations: 142.5 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 1.193e-06/0.5484, allocations: 0 / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.0006063/0.549, allocations: 460.7 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.5491, allocations: 118.8 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.5493, allocations: 123.3 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.5493, allocations: 37.7 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.5494, allocations: 104.6 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.5495, allocations: 59.28 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.5495, allocations: 0 / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5496, allocations: 330.8 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5497, allocations: 56.19 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.55, allocations: 199 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5501, allocations: 67.92 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5501, allocations: 0 / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003104/0.5504, allocations: 205.3 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5505, allocations: 7.938 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.5505, allocations: 7.984 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5505, allocations: 4 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.205e-05/0.5506, allocations: 15.94 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.5506, allocations: 4 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.5508, allocations: 51.86 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5509, allocations: 8 kB / 1.384 GB, free: 10.34 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.0001583/0.5511, allocations: 156.6 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.5511, allocations: 7.906 kB / 1.384 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.5511, allocations: 12.72 kB / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5511, allocations: 4 kB / 1.384 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5511, allocations: 4 kB / 1.384 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5512, allocations: 3.984 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.5513, allocations: 213.5 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5514, allocations: 0 / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.5514, allocations: 8 kB / 1.385 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5514, allocations: 7.938 kB / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5514, allocations: 0 / 1.385 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5514, allocations: 4 kB / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5515, allocations: 0 / 1.385 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.5518, allocations: 241.2 kB / 1.385 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.5519, allocations: 96.86 kB / 1.385 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.5519, allocations: 4 kB / 1.385 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.552, allocations: 7.984 kB / 1.385 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.552, allocations: 15.98 kB / 1.385 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.552, allocations: 4 kB / 1.385 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.5521, allocations: 108.5 kB / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5521, allocations: 0 / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004222/0.5526, allocations: 119.8 kB / 1.385 GB, free: 9.23 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.0003537/0.5529, allocations: 215 kB / 1.385 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.5533, allocations: 222.3 kB / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5533, allocations: 4 kB / 1.386 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.5534, allocations: 55.91 kB / 1.386 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.5535, allocations: 10.25 kB / 1.386 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.554, allocations: 267.9 kB / 1.386 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5544, allocations: 0.7126 MB / 1.387 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.418e-05/0.5545, allocations: 8.875 kB / 1.387 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.5545, allocations: 15.44 kB / 1.387 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/0.5545, allocations: 0 / 1.387 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of Templates: time 0.005939/0.5604, allocations: 2.844 MB / 1.39 GB, free: 4.848 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches