Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001542/0.001542, allocations: 191.2 kB / 498.1 MB, free: 5.738 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.586/1.586, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001244/0.001244, allocations: 104.2 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 11.22 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3364, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.532, allocations: 421.9 MB / 1.635 GB, free: 6.727 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/1.533, allocations: 104.9 kB / 1.635 GB, free: 6.672 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.85/12.38, allocations: 2.806 GB / 4.441 GB, free: 75.38 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.665e-06/12.38, allocations: 3.344 kB / 4.441 GB, free: 75.38 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001216/12.38, allocations: 170.3 kB / 4.441 GB, free: 75.35 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02568/12.41, allocations: 7.157 MB / 4.448 GB, free: 71.81 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/12.41, allocations: 17.05 kB / 4.448 GB, free: 71.8 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/12.41, allocations: 0.7836 MB / 4.449 GB, free: 71.43 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1326/12.55, allocations: 60.99 MB / 4.508 GB, free: 67.3 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/12.55, allocations: 320 kB / 4.509 GB, free: 67.29 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/12.55, allocations: 418.8 kB / 4.509 GB, free: 67.29 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/12.56, allocations: 4.273 MB / 4.513 GB, free: 66.45 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/12.56, allocations: 15.69 kB / 4.513 GB, free: 66.44 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001157/12.56, allocations: 180.6 kB / 4.514 GB, free: 66.44 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/12.56, allocations: 118 kB / 4.514 GB, free: 66.43 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/12.57, allocations: 2.903 MB / 4.516 GB, free: 65.38 MB / 1.26 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03736/12.61, allocations: 24.05 MB / 4.54 GB, free: 46.73 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/12.61, allocations: 2.962 MB / 4.543 GB, free: 44.68 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/12.61, allocations: 3.942 MB / 4.547 GB, free: 40.19 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.063e-05/12.61, allocations: 67.89 kB / 4.547 GB, free: 40.12 MB / 1.26 GB Notification: Performance of pre-optimization done (n=225): time 4.99e-06/12.61, allocations: 0 / 4.547 GB, free: 40.12 MB / 1.26 GB Notification: Performance of matching and sorting (n=225): time 0.01008/12.62, allocations: 4.106 MB / 4.551 GB, free: 38.3 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/12.62, allocations: 75.31 kB / 4.551 GB, free: 38.24 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008839/12.63, allocations: 3.687 MB / 4.554 GB, free: 36.94 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0006547/12.63, allocations: 77.3 kB / 4.555 GB, free: 36.87 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/12.64, allocations: 2.783 MB / 4.557 GB, free: 34.68 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/12.64, allocations: 0.7798 MB / 4.558 GB, free: 34.05 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/12.64, allocations: 51.12 kB / 4.558 GB, free: 34.02 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002011/12.64, allocations: 411.3 kB / 4.558 GB, free: 33.66 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/12.64, allocations: 0.8072 MB / 4.559 GB, free: 33.36 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/12.64, allocations: 1.8 MB / 4.561 GB, free: 31.79 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/12.64, allocations: 1.096 MB / 4.562 GB, free: 31.27 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/12.64, allocations: 7.938 kB / 4.562 GB, free: 31.27 MB / 1.26 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007108/12.65, allocations: 3.362 MB / 4.565 GB, free: 29.81 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.002216/12.65, allocations: 10.36 MB / 4.575 GB, free: 18.81 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/12.65, allocations: 26.09 kB / 4.575 GB, free: 18.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/12.65, allocations: 409.9 kB / 4.576 GB, free: 18.63 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/12.66, allocations: 0.5312 MB / 4.576 GB, free: 18.16 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/12.66, allocations: 2.683 MB / 4.579 GB, free: 15.45 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006251/12.66, allocations: 0.5607 MB / 4.58 GB, free: 14.98 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005499/12.66, allocations: 135.1 kB / 4.58 GB, free: 14.86 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/12.66, allocations: 4.625 kB / 4.58 GB, free: 14.86 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005847/12.67, allocations: 2.811 MB / 4.582 GB, free: 12.05 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.802e-05/12.67, allocations: 24 kB / 4.582 GB, free: 12.03 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009678/12.67, allocations: 367.9 kB / 4.583 GB, free: 11.66 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/12.67, allocations: 0.5246 MB / 4.583 GB, free: 11.13 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007957/12.68, allocations: 7.804 MB / 4.591 GB, free: 2.758 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/12.69, allocations: 0.5131 MB / 4.591 GB, free: 2.242 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00072/12.69, allocations: 124 kB / 4.592 GB, free: 2.121 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003869/12.69, allocations: 1.008 MB / 4.593 GB, free: 1.102 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/12.69, allocations: 0.5055 MB / 4.593 GB, free: 0.5898 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009719/12.7, allocations: 3.788 MB / 4.597 GB, free: 12.73 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.36e-05/12.7, allocations: 43.97 kB / 4.597 GB, free: 12.69 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/12.7, allocations: 2.078 kB / 4.597 GB, free: 12.69 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005628/12.71, allocations: 2.615 MB / 4.599 GB, free: 10.02 MB / 1.276 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/12.73, allocations: 8.581 MB / 4.608 GB, free: 1.141 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/12.73, allocations: 96 / 4.608 GB, free: 1.141 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/12.74, allocations: 387.5 kB / 4.608 GB, free: 0.7617 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007955/12.74, allocations: 302.9 kB / 4.608 GB, free: 464 kB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/12.74, allocations: 63.97 kB / 4.608 GB, free: 400 kB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/12.74, allocations: 2.498 MB / 4.611 GB, free: 13.79 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/12.74, allocations: 0 / 4.611 GB, free: 13.79 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009783/12.75, allocations: 4.777 MB / 4.616 GB, free: 8.879 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004708/12.75, allocations: 0.9934 MB / 4.617 GB, free: 7.859 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002026/12.76, allocations: 44 kB / 4.617 GB, free: 7.816 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00554/12.76, allocations: 442.8 kB / 4.617 GB, free: 7.383 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/12.76, allocations: 149.8 kB / 4.617 GB, free: 7.234 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004473/12.76, allocations: 116.1 kB / 4.617 GB, free: 7.121 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.008137/12.77, allocations: 2.826 MB / 4.62 GB, free: 4.324 MB / 1.292 GB Notification: Performance of sort global known variables: time 7.01e-07/12.77, allocations: 3.938 kB / 4.62 GB, free: 4.32 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01909/12.79, allocations: 3.59 MB / 4.623 GB, free: 0.7227 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009025/12.8, allocations: 3.421 MB / 4.627 GB, free: 13.23 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01031/12.81, allocations: 4.434 MB / 4.631 GB, free: 8.73 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/12.81, allocations: 4 kB / 4.631 GB, free: 8.727 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/12.81, allocations: 1.32 MB / 4.632 GB, free: 7.402 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0156/12.83, allocations: 2.71 MB / 4.635 GB, free: 4.777 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8863/13.71, allocations: 11.19 MB / 4.646 GB, free: 113.5 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006977/13.72, allocations: 3.003 MB / 4.649 GB, free: 112.7 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.01062/13.73, allocations: 1.204 MB / 4.65 GB, free: 112.7 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/13.73, allocations: 424.8 kB / 4.651 GB, free: 112.7 MB / 1.307 GB Notification: Performance of SimCode: time 1.693e-06/13.73, allocations: 0 / 4.651 GB, free: 112.7 MB / 1.307 GB Notification: Performance of Templates: time 0.2555/13.99, allocations: 119 MB / 4.767 GB, free: 106.6 MB / 1.307 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches