Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.405/2.405, allocations: 390.5 MB / 398 MB, free: 10.89 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.001116/0.001116, allocations: 188 kB / 491.2 MB, free: 1.547 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.455/1.455, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009525/0.0009526, allocations: 99.58 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.389e-05/1.401e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3348, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.398, allocations: 149.7 MB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.399, allocations: 69.44 kB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/1.414, allocations: 5.014 MB / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.414, allocations: 3.938 kB / 1.363 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.294e-05/1.414, allocations: 0 / 1.363 GB, free: 32.94 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.0008421/1.414, allocations: 451.9 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.415, allocations: 11.5 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/1.415, allocations: 11.75 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/1.415, allocations: 218.5 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/1.415, allocations: 3.875 kB / 1.364 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/1.415, allocations: 13.22 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001503/1.415, allocations: 44.66 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.415, allocations: 93.94 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.415, allocations: 0 / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/1.416, allocations: 0 / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.416, allocations: 0 / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/1.416, allocations: 230.4 kB / 1.365 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/1.416, allocations: 104.6 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/1.416, allocations: 67.58 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/1.416, allocations: 7.844 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/1.416, allocations: 133.2 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/1.416, allocations: 0 / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0004412/1.417, allocations: 174.8 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.417, allocations: 129 kB / 1.365 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.417, allocations: 126.2 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/1.417, allocations: 31.03 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/1.417, allocations: 97.36 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/1.417, allocations: 51.89 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.417, allocations: 0 / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.417, allocations: 327.2 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/1.417, allocations: 44.78 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.418, allocations: 190.5 kB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/1.418, allocations: 82.06 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.418, allocations: 1.547 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002939/1.418, allocations: 188.9 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.418, allocations: 9.359 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/1.418, allocations: 3.969 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.418, allocations: 1.453 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/1.418, allocations: 12.78 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.418, allocations: 0 / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/1.418, allocations: 54.7 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/1.418, allocations: 10.84 kB / 1.366 GB, free: 30.95 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.0001036/1.419, allocations: 123.6 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/1.419, allocations: 11.66 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/1.419, allocations: 17.41 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.419, allocations: 3.844 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.419, allocations: 1.547 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.419, allocations: 144 / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/1.419, allocations: 176.6 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.419, allocations: 3.812 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/1.419, allocations: 16.98 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.419, allocations: 3.953 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.419, allocations: 3.844 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.419, allocations: 1.359 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.419, allocations: 3.812 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/1.419, allocations: 249.8 kB / 1.367 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/1.419, allocations: 87.58 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/1.419, allocations: 3.906 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/1.419, allocations: 10.67 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/1.419, allocations: 10.56 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.419, allocations: 11.12 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.537e-05/1.419, allocations: 109 kB / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.419, allocations: 0 / 1.367 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004031/1.42, allocations: 110.8 kB / 1.367 GB, free: 30.3 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.0003682/1.42, allocations: 213.6 kB / 1.367 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002556/1.421, allocations: 212.9 kB / 1.368 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.421, allocations: 0 / 1.368 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/1.421, allocations: 58.05 kB / 1.368 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/1.421, allocations: 9.094 kB / 1.368 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/1.421, allocations: 174.4 kB / 1.368 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/1.421, allocations: 0.7192 MB / 1.369 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.409e-05/1.421, allocations: 11.16 kB / 1.369 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/1.422, allocations: 15.12 kB / 1.369 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.422, allocations: 0 / 1.369 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.005622/1.427, allocations: 2.759 MB / 1.371 GB, free: 28.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches