Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.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.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noWinZonSta.TZon|noWinZonSta.THeaSetOcc|noWinZonSta.TCooSetOcc|noWinZonSta.THeaSetUno|noWinZonSta.TCooSetUno|noWinZonSta.yOccHeaHig|noWinZonSta.yHigOccCoo|noWinZonSta.yUnoHeaHig|noWinZonSta.yEndSetBac|witWinZonSta.uWin|witWinZonSta.yOccHeaHig|witWinZonSta.yHigOccCoo|witWinZonSta.yUnoHeaHig|witWinZonSta.yEndSetBac",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noWinZonSta.TZon|noWinZonSta.THeaSetOcc|noWinZonSta.TCooSetOcc|noWinZonSta.THeaSetUno|noWinZonSta.TCooSetUno|noWinZonSta.yOccHeaHig|noWinZonSta.yHigOccCoo|noWinZonSta.yUnoHeaHig|noWinZonSta.yEndSetBac|witWinZonSta.uWin|witWinZonSta.yOccHeaHig|witWinZonSta.yHigOccCoo|witWinZonSta.yUnoHeaHig|witWinZonSta.yEndSetBac",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.617/2.617, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001553/0.001553, allocations: 179.3 kB / 498.1 MB, free: 5.754 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.542/1.542, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.0009648/0.0009648, allocations: 106.7 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003899, allocations: 7.531 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3197, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.5237, allocations: 151.5 MB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.524, allocations: 75.89 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02992/0.554, allocations: 9.598 MB / 1.38 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.564e-06/0.554, allocations: 0 / 1.38 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.561e-05/0.5541, allocations: 16 kB / 1.38 GB, free: 0.9375 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002039/0.5561, allocations: 0.9319 MB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5562, allocations: 8.031 kB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.5564, allocations: 79.06 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.5571, allocations: 394.7 kB / 1.382 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.5572, allocations: 57.31 kB / 1.382 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.5573, allocations: 76 kB / 1.382 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5585, allocations: 0.5531 MB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5585, allocations: 0 / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.5586, allocations: 24 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5586, allocations: 16 kB / 1.382 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/0.5595, allocations: 445 kB / 1.383 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.5622, allocations: 1.641 MB / 1.384 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.563, allocations: 388 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.563, allocations: 8.312 kB / 1.385 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005825/0.5636, allocations: 296.7 kB / 1.385 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.5637, allocations: 3.938 kB / 1.385 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.001124/0.5648, allocations: 0.5154 MB / 1.386 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.5649, allocations: 114.8 kB / 1.386 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.5654, allocations: 433 kB / 1.386 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.753e-05/0.5655, allocations: 57.69 kB / 1.386 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.5658, allocations: 297 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.566, allocations: 130.3 kB / 1.387 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.566, allocations: 12 kB / 1.387 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5662, allocations: 370.8 kB / 1.387 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.5666, allocations: 185 kB / 1.387 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.5672, allocations: 329.7 kB / 1.387 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.5675, allocations: 183.8 kB / 1.388 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5675, allocations: 0 / 1.388 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009852/0.5685, allocations: 0.5313 MB / 1.388 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.5686, allocations: 33.69 kB / 1.388 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5686, allocations: 4 kB / 1.388 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.5686, allocations: 4 kB / 1.388 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.5689, allocations: 55.84 kB / 1.388 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5689, allocations: 8.016 kB / 1.388 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.5695, allocations: 179.5 kB / 1.388 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.5696, allocations: 19.98 kB / 1.388 GB, free: 8.32 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.uWinSta.y,uWinSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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.0003002/0.5699, allocations: 206.4 kB / 1.389 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.57, allocations: 55.34 kB / 1.389 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.5711, allocations: 418.7 kB / 1.389 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5711, allocations: 4 kB / 1.389 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5711, allocations: 4 kB / 1.389 GB, free: 7.629 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.5711, allocations: 3.953 kB / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5723, allocations: 0.7958 MB / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5724, allocations: 8 kB / 1.39 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.5727, allocations: 51.91 kB / 1.39 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.5727, allocations: 0 / 1.39 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.5728, allocations: 19.94 kB / 1.39 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.5728, allocations: 8 kB / 1.39 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5728, allocations: 0 / 1.39 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5739, allocations: 461.6 kB / 1.39 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.5741, allocations: 132.4 kB / 1.39 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5742, allocations: 24 kB / 1.39 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.5748, allocations: 75.94 kB / 1.391 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/0.5752, allocations: 111.8 kB / 1.391 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.5752, allocations: 19.92 kB / 1.391 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005651/0.5758, allocations: 330.9 kB / 1.391 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5758, allocations: 0 / 1.391 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000686/0.5765, allocations: 131.7 kB / 1.391 GB, free: 5.367 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,noWinZonSta.hys.y,noWinZonSta.hys1.y,noWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys3.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,witWinZonSta.hys.y,witWinZonSta.hys1.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,witWinZonSta.hys3.y,witWinZonSta.hys4.y,uWinSta.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys3.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys1.y,witWinZonSta.hys.y,noWinZonSta.hys4.y,noWinZonSta.hys3.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y,noWinZonSta.hys1.y,noWinZonSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003404/0.5769, allocations: 155 kB / 1.391 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.5783, allocations: 497.2 kB / 1.392 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5783, allocations: 0 / 1.392 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.5791, allocations: 231.9 kB / 1.392 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.5796, allocations: 46 kB / 1.392 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.5828, allocations: 1.052 MB / 1.393 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009621/0.5838, allocations: 0.8878 MB / 1.394 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003865/0.5842, allocations: 60.38 kB / 1.394 GB, free: 2.379 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.5845, allocations: 51.41 kB / 1.394 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/0.5845, allocations: 0 / 1.394 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of Templates: time 0.02248/0.607, allocations: 6.043 MB / 1.4 GB, free: 12.34 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches