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.237/2.237, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001288/0.001289, allocations: 180.9 kB / 487.4 MB, free: 5.027 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.571/1.571, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.001134/0.001134, allocations: 99.27 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.635e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9139/1.217, allocations: 149 MB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.217, allocations: 77.44 kB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/1.232, allocations: 5.023 MB / 1.356 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.232, allocations: 0 / 1.356 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.232, allocations: 3.844 kB / 1.356 GB, free: 33.84 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.0006303/1.233, allocations: 443.3 kB / 1.357 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.233, allocations: 11.69 kB / 1.357 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/1.233, allocations: 11.59 kB / 1.357 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/1.233, allocations: 222.5 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/1.233, allocations: 3.984 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.233, allocations: 7.625 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001168/1.233, allocations: 42.94 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/1.233, allocations: 96.98 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.233, allocations: 0 / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/1.233, allocations: 5.188 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/1.233, allocations: 0 / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/1.234, allocations: 228.3 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/1.234, allocations: 107.3 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/1.234, allocations: 69.08 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/1.234, allocations: 3.844 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/1.234, allocations: 130 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/1.234, allocations: 4 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003766/1.234, allocations: 178.4 kB / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.234, allocations: 114.1 kB / 1.358 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.235, allocations: 130.2 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/1.235, allocations: 32.64 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/1.235, allocations: 93.5 kB / 1.358 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/1.235, allocations: 51.05 kB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.235, allocations: 0 / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.235, allocations: 331.6 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/1.235, allocations: 43.12 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/1.235, allocations: 188.7 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/1.235, allocations: 77.5 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.235, allocations: 0 / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002923/1.236, allocations: 197.2 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.236, allocations: 17.31 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.236, allocations: 3.812 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.236, allocations: 3.781 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/1.236, allocations: 18.61 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.236, allocations: 4.75 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/1.236, allocations: 46.94 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/1.236, allocations: 11.19 kB / 1.359 GB, free: 31.85 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.0001023/1.236, allocations: 123.5 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/1.236, allocations: 18.31 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.453e-05/1.236, allocations: 11.59 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.236, allocations: 3.875 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.236, allocations: 3.938 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.236, allocations: 2.672 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/1.236, allocations: 183.8 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.236, allocations: 3.844 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/1.236, allocations: 10.55 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/1.236, allocations: 0 / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.236, allocations: 11.8 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.236, allocations: 0 / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.236, allocations: 3.75 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/1.237, allocations: 241.5 kB / 1.36 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/1.237, allocations: 88.8 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.237, allocations: 8.812 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/1.237, allocations: 5.453 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/1.237, allocations: 8.172 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/1.237, allocations: 12.78 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.775e-05/1.237, allocations: 96.78 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.237, allocations: 0 / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000402/1.237, allocations: 112.8 kB / 1.36 GB, free: 31.21 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.0003496/1.238, allocations: 215.7 kB / 1.36 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002484/1.238, allocations: 211.1 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.238, allocations: 0 / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.528e-05/1.238, allocations: 53.44 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/1.238, allocations: 13.09 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/1.239, allocations: 169.4 kB / 1.361 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.239, allocations: 0.7182 MB / 1.361 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.199e-05/1.239, allocations: 13.08 kB / 1.361 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/1.239, allocations: 15.16 kB / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.239, allocations: 0 / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.005411/1.244, allocations: 2.768 MB / 1.364 GB, free: 29.87 MB / 0.8386 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