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.135/2.135, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001076/0.001076, allocations: 180.8 kB / 487.4 MB, free: 5.051 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: 221.5 MB / 0.7824 GB, free: 1 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.000922/0.0009219, allocations: 95.61 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.366e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.506, allocations: 421.2 MB / 1.617 GB, free: 1.453 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.507, allocations: 93.22 kB / 1.617 GB, free: 1.406 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 9.889/11.4, allocations: 2.785 GB / 4.403 GB, free: 49.79 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.773e-06/11.4, allocations: 0 / 4.403 GB, free: 49.79 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001257/11.4, allocations: 173.8 kB / 4.403 GB, free: 49.63 MB / 1.245 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.01761/11.41, allocations: 5.922 MB / 4.409 GB, free: 43.65 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/11.41, allocations: 12.03 kB / 4.409 GB, free: 43.64 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/11.42, allocations: 0.7757 MB / 4.41 GB, free: 42.86 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1169/11.54, allocations: 60.52 MB / 4.469 GB, free: 14.56 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/11.54, allocations: 132 kB / 4.469 GB, free: 14.43 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/11.54, allocations: 246.2 kB / 4.469 GB, free: 14.2 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008234/11.55, allocations: 2.531 MB / 4.471 GB, free: 11.66 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/11.56, allocations: 3.609 MB / 4.475 GB, free: 7.773 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/11.56, allocations: 19.83 kB / 4.475 GB, free: 7.754 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004362/11.56, allocations: 8 kB / 4.475 GB, free: 7.746 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/11.56, allocations: 115.9 kB / 4.475 GB, free: 7.633 MB / 1.276 GB Warning: The model contains alias variables with conflicting start and/or 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 1.093/12.65, allocations: 23.36 MB / 4.498 GB, free: 68.69 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/12.65, allocations: 2.842 MB / 4.501 GB, free: 67.54 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/12.66, allocations: 0.995 MB / 4.502 GB, free: 67.51 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002952/12.66, allocations: 3.931 MB / 4.506 GB, free: 63.11 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.084e-05/12.66, allocations: 64.98 kB / 4.506 GB, free: 63.07 MB / 1.276 GB Notification: Performance of pre-optimization done (n=225): time 5.771e-06/12.66, allocations: 0 / 4.506 GB, free: 63.07 MB / 1.276 GB Notification: Performance of matching and sorting (n=225): time 0.009772/12.67, allocations: 2.897 MB / 4.508 GB, free: 62.73 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/12.67, allocations: 74.19 kB / 4.508 GB, free: 62.66 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00822/12.68, allocations: 3.304 MB / 4.512 GB, free: 62.38 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0008226/12.68, allocations: 33.42 kB / 4.512 GB, free: 62.34 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.002401/12.68, allocations: 2.798 MB / 4.514 GB, free: 61.7 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/12.68, allocations: 0.7555 MB / 4.515 GB, free: 61.31 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/12.68, allocations: 0 / 4.515 GB, free: 61.31 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001823/12.68, allocations: 406.5 kB / 4.516 GB, free: 61 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/12.68, allocations: 0.7298 MB / 4.516 GB, free: 61 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/12.68, allocations: 1.695 MB / 4.518 GB, free: 59.85 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/12.69, allocations: 1.372 MB / 4.519 GB, free: 59.82 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/12.69, allocations: 3.406 kB / 4.519 GB, free: 59.82 MB / 1.276 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009918/12.7, allocations: 3.47 MB / 4.523 GB, free: 59.44 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.00269/12.7, allocations: 10.32 MB / 4.533 GB, free: 48.68 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/12.7, allocations: 26.73 kB / 4.533 GB, free: 48.68 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/12.7, allocations: 342.8 kB / 4.533 GB, free: 48.65 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/12.7, allocations: 0.524 MB / 4.534 GB, free: 48.65 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/12.71, allocations: 2.754 MB / 4.536 GB, free: 46.56 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006539/12.71, allocations: 0.4931 MB / 4.537 GB, free: 46.49 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005616/12.71, allocations: 134.3 kB / 4.537 GB, free: 46.49 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/12.71, allocations: 3.844 kB / 4.537 GB, free: 46.49 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006625/12.72, allocations: 2.758 MB / 4.54 GB, free: 46.39 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/12.72, allocations: 21.94 kB / 4.54 GB, free: 46.39 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008475/12.72, allocations: 351.8 kB / 4.54 GB, free: 46.36 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/12.72, allocations: 0.5252 MB / 4.54 GB, free: 46.36 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/12.73, allocations: 7.399 MB / 4.548 GB, free: 40.97 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006594/12.74, allocations: 454 kB / 4.548 GB, free: 40.92 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007132/12.74, allocations: 127.1 kB / 4.548 GB, free: 40.92 MB / 1.276 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 () * 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.0009445/12.74, allocations: 181.4 kB / 4.548 GB, free: 40.81 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/12.74, allocations: 0.5007 MB / 4.549 GB, free: 40.55 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00877/12.75, allocations: 3.765 MB / 4.553 GB, free: 40.27 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/12.75, allocations: 41.81 kB / 4.553 GB, free: 40.27 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/12.75, allocations: 0 / 4.553 GB, free: 40.27 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005309/12.75, allocations: 2.633 MB / 4.555 GB, free: 40.07 MB / 1.276 GB Warning: The model contains alias variables with conflicting start and/or 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.02353/12.78, allocations: 8.098 MB / 4.563 GB, free: 38.63 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/12.78, allocations: 1.062 kB / 4.563 GB, free: 38.63 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/12.78, allocations: 389.1 kB / 4.564 GB, free: 38.63 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006145/12.78, allocations: 219.7 kB / 4.564 GB, free: 38.6 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/12.78, allocations: 37.23 kB / 4.564 GB, free: 38.6 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/12.78, allocations: 2.509 MB / 4.566 GB, free: 36.52 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/12.78, allocations: 6.484 kB / 4.566 GB, free: 36.51 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/12.8, allocations: 4.706 MB / 4.571 GB, free: 35.76 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004653/12.8, allocations: 0.9836 MB / 4.572 GB, free: 35.39 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/12.8, allocations: 9.469 kB / 4.572 GB, free: 35.39 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005551/12.81, allocations: 397.5 kB / 4.572 GB, free: 35.38 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/12.81, allocations: 158.6 kB / 4.572 GB, free: 35.37 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/12.81, allocations: 110 kB / 4.572 GB, free: 35.37 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.004754/12.81, allocations: 2.452 MB / 4.575 GB, free: 35.19 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.963e-06/12.81, allocations: 0 / 4.575 GB, free: 35.19 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01542/12.83, allocations: 3.443 MB / 4.578 GB, free: 35 MB / 1.276 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 () * 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.006599/12.84, allocations: 3.43 MB / 4.582 GB, free: 33.81 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.007605/12.84, allocations: 4.244 MB / 4.586 GB, free: 33.26 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/12.84, allocations: 3.25 kB / 4.586 GB, free: 33.26 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/12.84, allocations: 1.233 MB / 4.587 GB, free: 33.25 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01615/12.86, allocations: 2.615 MB / 4.589 GB, free: 33.23 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/12.88, allocations: 7.165 MB / 4.596 GB, free: 31.3 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/12.88, allocations: 3.007 MB / 4.599 GB, free: 30.5 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.009029/12.89, allocations: 1.491 MB / 4.601 GB, free: 30.45 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008843/12.89, allocations: 321.9 kB / 4.601 GB, free: 30.45 MB / 1.276 GB Notification: Performance of SimCode: time 1.272e-06/12.89, allocations: 0 / 4.601 GB, free: 30.45 MB / 1.276 GB Notification: Performance of Templates: time 0.1985/13.09, allocations: 114.3 MB / 4.713 GB, free: 22.55 MB / 1.276 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