Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.0009443/0.0009444, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009701/0.0009701, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.098e-05, allocations: 0 / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6647/0.8746, allocations: 132.3 MB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.8748, allocations: 75.2 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01427/0.8891, allocations: 4.627 MB / 1.026 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8891, allocations: 0 / 1.026 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8892, allocations: 0 / 1.026 GB, free: 14.37 MB / 0.6511 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.001099/0.8903, allocations: 0.6165 MB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8903, allocations: 12.03 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.8904, allocations: 35.81 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000759/0.8912, allocations: 322.5 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.8913, allocations: 31.97 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/0.8914, allocations: 47.8 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.8919, allocations: 324.1 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.8919, allocations: 0 / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.8919, allocations: 11.3 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8919, allocations: 4 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.8922, allocations: 115.4 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.8927, allocations: 497.5 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.8931, allocations: 302 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.8933, allocations: 161.8 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.8934, allocations: 11.94 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.8938, allocations: 351.3 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.8938, allocations: 3.938 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0008513/0.8947, allocations: 0.5192 MB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.8948, allocations: 203.4 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.895, allocations: 137.6 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.895, allocations: 50.48 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.8951, allocations: 115.1 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.8952, allocations: 91.77 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.8953, allocations: 15.69 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8954, allocations: 337.2 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.8957, allocations: 208.9 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.8961, allocations: 271 kB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.8965, allocations: 307.6 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.8965, allocations: 0 / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001275/0.8978, allocations: 0.9267 MB / 1.031 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-05/0.8979, allocations: 119.6 kB / 1.031 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8979, allocations: 4 kB / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8979, allocations: 4.094 kB / 1.031 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.8981, allocations: 27.92 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.8981, allocations: 3.938 kB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.8986, allocations: 130.6 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.8987, allocations: 31.73 kB / 1.032 GB, free: 8.641 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.0001931/0.8989, allocations: 170.9 kB / 1.032 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.899, allocations: 19.81 kB / 1.032 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.899, allocations: 22.61 kB / 1.032 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.899, allocations: 4 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.899, allocations: 4 kB / 1.032 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.899, allocations: 4 kB / 1.032 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.8993, allocations: 316.4 kB / 1.032 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.8993, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/0.8994, allocations: 19.98 kB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.8994, allocations: 4 kB / 1.032 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.8995, allocations: 18.95 kB / 1.032 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.8995, allocations: 7.938 kB / 1.032 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8995, allocations: 4 kB / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.9003, allocations: 0.6144 MB / 1.033 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.9003, allocations: 92.92 kB / 1.033 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.9004, allocations: 34.06 kB / 1.033 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.9006, allocations: 27.91 kB / 1.033 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.9007, allocations: 31.64 kB / 1.033 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.9008, allocations: 38.45 kB / 1.033 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.9008, allocations: 104.7 kB / 1.033 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9009, allocations: 0 / 1.033 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003641/0.9012, allocations: 134.5 kB / 1.033 GB, free: 7.07 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.0002357/0.9015, allocations: 185.7 kB / 1.033 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009786/0.9025, allocations: 0.9315 MB / 1.034 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9025, allocations: 0 / 1.034 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.9028, allocations: 216 kB / 1.035 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9029, allocations: 19.52 kB / 1.035 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.9035, allocations: 358.6 kB / 1.035 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.9038, allocations: 0.7325 MB / 1.036 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.663e-05/0.9039, allocations: 18.08 kB / 1.036 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.9039, allocations: 23.42 kB / 1.036 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/0.904, allocations: 0 / 1.036 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of Templates: time 0.00785/0.9118, allocations: 4.666 MB / 1.04 GB, free: 408 kB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches