Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.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_9_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_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.343/2.343, 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.001108/0.001109, allocations: 188.6 kB / 487.4 MB, free: 5.055 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.523/1.523, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.001101/0.001101, allocations: 107.6 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.87e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2745, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9011/1.176, allocations: 148.9 MB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.176, allocations: 75.55 kB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01465/1.191, allocations: 5.012 MB / 1.356 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/1.191, allocations: 0 / 1.356 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.191, 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.0005416/1.191, allocations: 452.8 kB / 1.357 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.191, allocations: 7.594 kB / 1.357 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/1.191, allocations: 11.5 kB / 1.357 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/1.192, allocations: 221.5 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.192, allocations: 0 / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/1.192, allocations: 7.844 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000111/1.192, allocations: 43.12 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/1.192, allocations: 94.75 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.192, allocations: 3.938 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.192, allocations: 3.875 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/1.192, allocations: 0 / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/1.192, allocations: 231.5 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/1.192, allocations: 102.7 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/1.192, allocations: 77.28 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/1.192, allocations: 0 / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/1.193, allocations: 131.4 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/1.193, allocations: 3.938 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.000361/1.193, allocations: 173.6 kB / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/1.193, allocations: 120.2 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.193, allocations: 124.1 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/1.193, allocations: 32.86 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/1.193, allocations: 100.8 kB / 1.358 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/1.193, allocations: 51.5 kB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/1.193, allocations: 3.844 kB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.193, allocations: 326.8 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/1.193, allocations: 43.91 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/1.194, allocations: 183.6 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/1.194, allocations: 75.58 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.194, allocations: 0 / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002757/1.194, allocations: 202.7 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.194, allocations: 14.03 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/1.194, allocations: 7.906 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.194, allocations: 3.875 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/1.194, allocations: 14.06 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.194, allocations: 3.969 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.194, allocations: 47.31 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.194, allocations: 11.69 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 9.144e-05/1.194, allocations: 114.1 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/1.194, allocations: 19.08 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/1.195, allocations: 15.22 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.195, allocations: 3.844 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.195, allocations: 0 / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.195, allocations: 0 / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/1.195, allocations: 178.8 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.195, allocations: 3.875 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/1.195, allocations: 15.75 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.195, allocations: 0 / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/1.195, allocations: 7.797 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.195, allocations: 3.188 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.195, allocations: 3.844 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/1.195, allocations: 243 kB / 1.36 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/1.195, allocations: 92.7 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/1.195, allocations: 6.797 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/1.195, allocations: 3.844 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/1.195, allocations: 10.11 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/1.195, allocations: 10.92 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.597e-05/1.195, allocations: 96.84 kB / 1.36 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.195, allocations: 4 kB / 1.36 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003855/1.196, allocations: 118.1 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.0002959/1.196, allocations: 214.2 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002419/1.196, allocations: 211.5 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.196, allocations: 0 / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/1.196, allocations: 49.83 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.0001321/1.196, allocations: 13.11 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.0003002/1.197, allocations: 177.2 kB / 1.361 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/1.197, allocations: 0.7159 MB / 1.361 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.128e-05/1.197, allocations: 11.84 kB / 1.361 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/1.197, allocations: 14.53 kB / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.197, allocations: 0 / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.005387/1.203, allocations: 2.763 MB / 1.364 GB, free: 29.88 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches