Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 179.1 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 98.41 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.537e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.719/1.929, allocations: 399.9 MB / 1.276 GB, free: 312.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/1.929, allocations: 91.7 kB / 1.276 GB, free: 312.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.463/3.392, allocations: 419.4 MB / 1.685 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.968e-06/3.392, allocations: 0 / 1.685 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001482/3.392, allocations: 29.47 kB / 1.685 GB, free: 200.2 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003071/3.395, allocations: 1.248 MB / 1.687 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/3.396, allocations: 13.5 kB / 1.687 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/3.396, allocations: 131.8 kB / 1.687 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02641/3.422, allocations: 12.33 MB / 1.699 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/3.422, allocations: 22.5 kB / 1.699 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/3.423, allocations: 41.47 kB / 1.699 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009235/3.423, allocations: 448.8 kB / 1.699 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/3.424, allocations: 0.621 MB / 1.7 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/3.425, allocations: 0 / 1.7 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/3.425, allocations: 0 / 1.7 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/3.425, allocations: 22.44 kB / 1.7 GB, free: 198.7 MB / 0.8698 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 0.004093/3.429, allocations: 3.382 MB / 1.703 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/3.429, allocations: 312.8 kB / 1.704 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/3.429, allocations: 155.7 kB / 1.704 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/3.43, allocations: 0.6574 MB / 1.704 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/3.43, allocations: 43.64 kB / 1.704 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.504e-06/3.43, allocations: 2.156 kB / 1.704 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0008277/3.431, allocations: 349.8 kB / 1.705 GB, free: 196 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/3.431, allocations: 59.28 kB / 1.705 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/3.432, allocations: 0.635 MB / 1.705 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/3.432, allocations: 25.7 kB / 1.705 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/3.432, allocations: 0.5064 MB / 1.706 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.569e-05/3.432, allocations: 108.8 kB / 1.706 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/3.432, allocations: 0 / 1.706 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/3.432, allocations: 323.6 kB / 1.706 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/3.433, allocations: 118 kB / 1.707 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/3.433, allocations: 330 kB / 1.707 GB, free: 195 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/3.433, allocations: 190.5 kB / 1.707 GB, free: 195 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/3.433, allocations: 0 / 1.707 GB, free: 195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008639/3.434, allocations: 494.2 kB / 1.707 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/3.434, allocations: 7.5 kB / 1.707 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/3.434, allocations: 3.625 kB / 1.707 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-05/3.434, allocations: 11.72 kB / 1.707 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/3.435, allocations: 119 kB / 1.708 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/3.435, allocations: 14.52 kB / 1.708 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/3.436, allocations: 85.11 kB / 1.708 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/3.436, allocations: 22.34 kB / 1.708 GB, free: 194.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/3.436, allocations: 120.4 kB / 1.708 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/3.436, allocations: 86.81 kB / 1.708 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008931/3.437, allocations: 410 kB / 1.708 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/3.437, allocations: 7.438 kB / 1.708 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/3.437, allocations: 0 / 1.708 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005529/3.437, allocations: 407.7 kB / 1.709 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/3.44, allocations: 1.267 MB / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/3.44, allocations: 0 / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/3.44, allocations: 82.11 kB / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/3.44, allocations: 7.078 kB / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/3.44, allocations: 7.547 kB / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/3.44, allocations: 8.297 kB / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/3.44, allocations: 3.75 kB / 1.71 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/3.441, allocations: 0.7331 MB / 1.711 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/3.442, allocations: 223.7 kB / 1.711 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/3.442, allocations: 2.969 kB / 1.711 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/3.442, allocations: 48.98 kB / 1.711 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/3.443, allocations: 34.14 kB / 1.711 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/3.443, allocations: 14.59 kB / 1.711 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007582/3.443, allocations: 0.4909 MB / 1.712 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/3.443, allocations: 0 / 1.712 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001672/3.445, allocations: 366.2 kB / 1.712 GB, free: 193.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001393/3.446, allocations: 0.5542 MB / 1.712 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006831/3.447, allocations: 337.3 kB / 1.713 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/3.447, allocations: 0 / 1.713 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/3.447, allocations: 155.6 kB / 1.713 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/3.45, allocations: 486.4 kB / 1.713 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/3.453, allocations: 1.162 MB / 1.715 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/3.453, allocations: 1.058 MB / 1.716 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008668/3.454, allocations: 176.4 kB / 1.716 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/3.454, allocations: 73.5 kB / 1.716 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/3.454, allocations: 9.406 kB / 1.716 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.03235/3.487, allocations: 16.9 MB / 1.732 GB, free: 191.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches