Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009887/0.000989, allocations: 180.9 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 90.42 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.362e-05, allocations: 0 / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.233, allocations: 106.3 MB / 0.8852 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7802/1.013, allocations: 132.5 MB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.013, allocations: 70.64 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01453/1.028, allocations: 4.603 MB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.028, allocations: 4 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.028, allocations: 0 / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001192/1.029, allocations: 0.617 MB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.029, allocations: 8.031 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/1.029, allocations: 43.81 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/1.03, allocations: 318.2 kB / 1.02 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/1.03, allocations: 11.98 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/1.03, allocations: 43.86 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002216/1.031, allocations: 96.83 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.031, allocations: 309.2 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.031, allocations: 8 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/1.031, allocations: 6.922 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.031, allocations: 4 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/1.032, allocations: 453.5 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/1.032, allocations: 286.7 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/1.032, allocations: 145.3 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/1.032, allocations: 11.98 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/1.033, allocations: 334.4 kB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/1.033, allocations: 0 / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0008019/1.034, allocations: 0.4899 MB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.034, allocations: 206 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.034, allocations: 132.8 kB / 1.023 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/1.034, allocations: 48.39 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/1.034, allocations: 110 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/1.034, allocations: 84.09 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/1.034, allocations: 12 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.034, allocations: 332 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/1.035, allocations: 185.9 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/1.035, allocations: 252 kB / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/1.035, allocations: 187.5 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.035, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001278/1.037, allocations: 0.785 MB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.037, allocations: 116.4 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.037, allocations: 4.094 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.037, allocations: 11.98 kB / 1.025 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/1.037, allocations: 23.5 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.037, allocations: 7.984 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/1.038, allocations: 115.6 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/1.038, allocations: 38.98 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.0001849/1.038, allocations: 145.7 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/1.038, allocations: 31.52 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/1.038, allocations: 19.98 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.038, allocations: 4 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.038, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.038, allocations: 4 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/1.038, allocations: 277.2 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.038, allocations: 0 / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/1.038, allocations: 19.94 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.038, allocations: 0 / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/1.038, allocations: 27.53 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.038, allocations: 4 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.038, allocations: 0 / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/1.039, allocations: 0.5943 MB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/1.039, allocations: 96.86 kB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/1.039, allocations: 23.17 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/1.04, allocations: 31.2 kB / 1.026 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/1.04, allocations: 35.34 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/1.04, allocations: 31.03 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.462e-05/1.04, allocations: 107.4 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/1.04, allocations: 0 / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004208/1.04, allocations: 115.4 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0003026/1.041, allocations: 185.5 kB / 1.026 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.042, allocations: 0.8898 MB / 1.027 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.042, allocations: 3.938 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/1.042, allocations: 194.4 kB / 1.028 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/1.042, allocations: 23.58 kB / 1.028 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/1.043, allocations: 327.2 kB / 1.028 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/1.043, allocations: 0.7292 MB / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.781e-05/1.043, allocations: 18.08 kB / 1.029 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/1.043, allocations: 19.42 kB / 1.029 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of SimCode: time 2.324e-06/1.043, allocations: 4 kB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of Templates: time 0.008665/1.052, allocations: 4.514 MB / 1.033 GB, free: 4.203 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches