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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001273/0.001273, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.559/1.559, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0009921/0.0009921, allocations: 92.56 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003888, allocations: 9.375 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.264, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.4656, allocations: 150.7 MB / 1.37 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4659, allocations: 79.94 kB / 1.37 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.4769, allocations: 3.904 MB / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4769, allocations: 0 / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4769, allocations: 4 kB / 1.374 GB, free: 14.69 MB / 0.8855 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.0008353/0.4778, allocations: 0.5245 MB / 1.374 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4778, allocations: 12.03 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.4779, allocations: 27.72 kB / 1.375 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.4781, allocations: 198.3 kB / 1.375 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.4781, allocations: 12 kB / 1.375 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.4782, allocations: 24 kB / 1.375 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.4787, allocations: 243.5 kB / 1.375 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4787, allocations: 0 / 1.375 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.4788, allocations: 15.94 kB / 1.375 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4788, allocations: 4 kB / 1.375 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.4794, allocations: 219.8 kB / 1.375 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4804, allocations: 0.6719 MB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.4809, allocations: 205.1 kB / 1.376 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.4809, allocations: 0 / 1.376 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.4814, allocations: 185.8 kB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.193e-06/0.4814, allocations: 0 / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.001082/0.4825, allocations: 365.5 kB / 1.377 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4826, allocations: 77.11 kB / 1.377 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4828, allocations: 165.7 kB / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.4828, allocations: 37.7 kB / 1.377 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.483, allocations: 136.3 kB / 1.377 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.483, allocations: 39.36 kB / 1.377 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.483, allocations: 8 kB / 1.377 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4832, allocations: 330.8 kB / 1.377 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.4836, allocations: 111.9 kB / 1.377 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.4839, allocations: 152.3 kB / 1.378 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.4843, allocations: 145.6 kB / 1.378 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4843, allocations: 0 / 1.378 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008163/0.4851, allocations: 347.3 kB / 1.378 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.4852, allocations: 37.77 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4852, allocations: 7.953 kB / 1.378 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4853, allocations: 0 / 1.378 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.4855, allocations: 43.95 kB / 1.378 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4856, allocations: 7.938 kB / 1.378 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4859, allocations: 79.72 kB / 1.378 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4859, allocations: 8 kB / 1.378 GB, free: 10.02 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: 8 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001671/0.4861, allocations: 133.8 kB / 1.378 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.4861, allocations: 15.81 kB / 1.378 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.4862, allocations: 21.39 kB / 1.378 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4862, allocations: 7.953 kB / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4862, allocations: 0 / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4862, allocations: 0 / 1.378 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.4866, allocations: 281.5 kB / 1.379 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4866, allocations: 0 / 1.379 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.4868, allocations: 51.89 kB / 1.379 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4868, allocations: 0 / 1.379 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4868, allocations: 8.312 kB / 1.379 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4869, allocations: 0 / 1.379 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4869, allocations: 7.953 kB / 1.379 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.4876, allocations: 304.5 kB / 1.379 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.4877, allocations: 92.86 kB / 1.379 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4877, allocations: 11.98 kB / 1.379 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4879, allocations: 27.94 kB / 1.379 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.488, allocations: 31.89 kB / 1.379 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.488, allocations: 7.984 kB / 1.379 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001058/0.4881, allocations: 131.2 kB / 1.379 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4881, allocations: 0 / 1.379 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002812/0.4884, allocations: 47.94 kB / 1.379 GB, free: 8.758 MB / 0.8855 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 () * Number of clocked 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.0002229/0.4886, allocations: 131 kB / 1.379 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008032/0.4894, allocations: 327.1 kB / 1.38 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4895, allocations: 0 / 1.38 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.4898, allocations: 128 kB / 1.38 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.4901, allocations: 19.98 kB / 1.38 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.4908, allocations: 394.9 kB / 1.38 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4911, allocations: 0.736 MB / 1.381 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.28e-05/0.4913, allocations: 16.59 kB / 1.381 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.4913, allocations: 19.42 kB / 1.381 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.4913, allocations: 0 / 1.381 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of Templates: time 0.006/0.4973, allocations: 2.377 MB / 1.383 GB, free: 4.613 MB / 0.8855 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