Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.786/1.786, allocations: 387.2 MB / 394.5 MB, free: 13.73 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.001081/0.001081, allocations: 192.6 kB / 487 MB, free: 5.402 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.14/1.14, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0008384/0.0008383, allocations: 99.25 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.74e-06/5.771e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.7024, allocations: 149.9 MB / 1.352 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.7027, allocations: 71.53 kB / 1.352 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01027/0.7129, allocations: 3.59 MB / 1.355 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.713, allocations: 7.281 kB / 1.355 GB, free: 15.96 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006563/0.7136, allocations: 0.5007 MB / 1.356 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7137, allocations: 10.8 kB / 1.356 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.7138, allocations: 25.41 kB / 1.356 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.7139, allocations: 198.7 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.7139, allocations: 6.469 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.7139, allocations: 13.91 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002296/0.7142, allocations: 116.5 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.7144, allocations: 166.9 kB / 1.356 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7145, allocations: 0 / 1.356 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.7145, allocations: 0.5938 kB / 1.356 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.7145, allocations: 6.469 kB / 1.356 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.7153, allocations: 0.63 MB / 1.357 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.7155, allocations: 133.1 kB / 1.357 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.7156, allocations: 61.05 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.7156, allocations: 6.547 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.7158, allocations: 127.3 kB / 1.357 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.7158, allocations: 0 / 1.357 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0002975/0.7161, allocations: 144.4 kB / 1.357 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.7161, allocations: 79.45 kB / 1.357 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7162, allocations: 152.4 kB / 1.358 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.7163, allocations: 27.27 kB / 1.358 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.7163, allocations: 124.5 kB / 1.358 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.7164, allocations: 43.34 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.7164, allocations: 4.188 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.7164, allocations: 324.9 kB / 1.358 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.7165, allocations: 57.47 kB / 1.358 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.7167, allocations: 85.41 kB / 1.358 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.7169, allocations: 66.78 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7169, allocations: 4.781 kB / 1.358 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004566/0.7174, allocations: 199.2 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7174, allocations: 5 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7174, allocations: 4.875 kB / 1.358 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.7174, allocations: 10.31 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.7177, allocations: 48.45 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7177, allocations: 6.438 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.718, allocations: 67.41 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.7181, allocations: 8.266 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 6.899e-05/0.7182, allocations: 120.8 kB / 1.359 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.7182, allocations: 16.42 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.7182, allocations: 14.3 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7182, allocations: 1.875 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7183, allocations: 0.875 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7183, allocations: 2.375 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.7185, allocations: 250.9 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7185, allocations: 0.625 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.7187, allocations: 51.53 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7187, allocations: 1.844 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.7187, allocations: 5.438 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7187, allocations: 1.922 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7188, allocations: 0.6875 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002494/0.719, allocations: 183.7 kB / 1.359 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.719, allocations: 89.92 kB / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.7191, allocations: 2.281 kB / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.7193, allocations: 31.19 kB / 1.359 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.7193, allocations: 24.5 kB / 1.359 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.7194, allocations: 9.547 kB / 1.359 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.06e-05/0.7194, allocations: 109.9 kB / 1.359 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002655/0.7197, allocations: 54.55 kB / 1.359 GB, free: 13.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0001408/0.7199, allocations: 119.4 kB / 1.36 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.7202, allocations: 172.8 kB / 1.36 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7202, allocations: 1.188 kB / 1.36 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7203, allocations: 75.58 kB / 1.36 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.7205, allocations: 22.88 kB / 1.36 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.721, allocations: 219.2 kB / 1.36 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.7214, allocations: 0.7561 MB / 1.361 GB, free: 28.36 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.7214, allocations: 0 / 1.361 GB, free: 28.36 MB / 0.823 GB Notification: Performance of Templates: time 0.005781/0.7272, allocations: 2.565 MB / 1.363 GB, free: 27.62 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches