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.244/2.244, allocations: 390.5 MB / 398 MB, free: 10.98 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.001279/0.001279, allocations: 187.6 kB / 491.2 MB, free: 1.613 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.642/1.642, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009139/0.0009139, allocations: 102.9 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.646e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.371, allocations: 149.8 MB / 1.359 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/1.371, allocations: 75.25 kB / 1.359 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01509/1.386, allocations: 5.017 MB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.497e-06/1.386, allocations: 0 / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.29e-05/1.386, allocations: 0 / 1.364 GB, free: 33.04 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.001284/1.387, allocations: 457.4 kB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.35e-05/1.387, allocations: 7.719 kB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/1.388, allocations: 13.25 kB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/1.388, allocations: 214.8 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/1.388, allocations: 5.047 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/1.388, allocations: 11.8 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002097/1.389, allocations: 47.03 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/1.389, allocations: 90.42 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.389, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/1.389, allocations: 4 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.389, allocations: 7.562 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/1.389, allocations: 229.2 kB / 1.365 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/1.39, allocations: 98.7 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/1.39, allocations: 70.77 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/1.39, allocations: 1.125 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/1.39, allocations: 141.9 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/1.39, allocations: 0 / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0006526/1.391, allocations: 172.6 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/1.391, allocations: 117 kB / 1.365 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/1.391, allocations: 131.5 kB / 1.365 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/1.391, allocations: 34.84 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/1.391, allocations: 92.34 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/1.391, allocations: 50.25 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/1.391, allocations: 3.938 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.392, allocations: 326.4 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/1.392, allocations: 52.44 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/1.392, allocations: 182 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/1.392, allocations: 87.31 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.392, allocations: 7.875 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005455/1.393, allocations: 189.2 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.393, allocations: 3.875 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/1.393, allocations: 6.625 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/1.393, allocations: 3.875 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/1.393, allocations: 15.44 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/1.393, allocations: 3.938 kB / 1.366 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/1.394, allocations: 49.61 kB / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/1.394, allocations: 7.719 kB / 1.366 GB, free: 31.04 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.0002117/1.394, allocations: 126.4 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/1.394, allocations: 15.47 kB / 1.366 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/1.394, allocations: 15.34 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.394, allocations: 0 / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/1.394, allocations: 4 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.394, allocations: 10.33 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/1.394, allocations: 173.9 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.394, allocations: 3.094 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/1.394, allocations: 11.66 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/1.394, allocations: 7.828 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.395, allocations: 0 / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/1.395, allocations: 3.969 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.395, allocations: 0 / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/1.395, allocations: 247.6 kB / 1.367 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/1.395, allocations: 88.39 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/1.395, allocations: 0 / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/1.395, allocations: 6.219 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/1.396, allocations: 10.55 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/1.396, allocations: 14.11 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001149/1.396, allocations: 109.5 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.396, allocations: 0 / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007779/1.396, allocations: 113.7 kB / 1.367 GB, free: 30.4 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.0006681/1.397, allocations: 212.2 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003985/1.398, allocations: 202.2 kB / 1.368 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.398, allocations: 0 / 1.368 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/1.398, allocations: 52.7 kB / 1.368 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/1.398, allocations: 15.86 kB / 1.368 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/1.398, allocations: 177 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/1.399, allocations: 0.7144 MB / 1.369 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001337/1.399, allocations: 11.39 kB / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/1.399, allocations: 15.22 kB / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.399, allocations: 4 kB / 1.369 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.008536/1.408, allocations: 2.761 MB / 1.371 GB, free: 29.08 MB / 0.8386 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