Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001258/0.001258, allocations: 176 kB / 0.4902 GB, free: 2.25 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.666/1.666, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.0008717/0.0008717, allocations: 105.9 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 12.75 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.35, allocations: 420.6 MB / 1.64 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.351, allocations: 95.14 kB / 1.64 GB, free: 5.352 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.558/2.909, allocations: 445.6 MB / 2.075 GB, free: 236.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.804e-06/2.909, allocations: 0 / 2.075 GB, free: 236.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00011/2.909, allocations: 32 kB / 2.075 GB, free: 236.5 MB / 1.167 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.003109/2.912, allocations: 1.456 MB / 2.077 GB, free: 235 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/2.913, allocations: 8.031 kB / 2.077 GB, free: 235 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/2.913, allocations: 138.5 kB / 2.077 GB, free: 234.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02462/2.938, allocations: 13.05 MB / 2.09 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/2.938, allocations: 62 kB / 2.09 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/2.938, allocations: 75.97 kB / 2.09 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/2.939, allocations: 0.7726 MB / 2.09 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/2.939, allocations: 4 kB / 2.09 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/2.939, allocations: 31.95 kB / 2.09 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/2.939, allocations: 20 kB / 2.09 GB, free: 220.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/2.94, allocations: 0.5633 MB / 2.091 GB, free: 220.1 MB / 1.167 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.004082/2.944, allocations: 3.544 MB / 2.094 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/2.945, allocations: 371.7 kB / 2.095 GB, free: 215.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/2.945, allocations: 0.6648 MB / 2.095 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/2.945, allocations: 38.56 kB / 2.096 GB, free: 215 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 3.367e-06/2.945, allocations: 0 / 2.096 GB, free: 215 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001104/2.947, allocations: 0.567 MB / 2.096 GB, free: 214.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/2.947, allocations: 55.34 kB / 2.096 GB, free: 214.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/2.948, allocations: 0.827 MB / 2.097 GB, free: 213.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/2.948, allocations: 37.7 kB / 2.097 GB, free: 213.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/2.948, allocations: 0.4918 MB / 2.097 GB, free: 213 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/2.948, allocations: 110.4 kB / 2.098 GB, free: 212.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/2.948, allocations: 16 kB / 2.098 GB, free: 212.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/2.948, allocations: 322 kB / 2.098 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/2.948, allocations: 161 kB / 2.098 GB, free: 212.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/2.949, allocations: 375.1 kB / 2.098 GB, free: 212 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/2.949, allocations: 227.6 kB / 2.099 GB, free: 211.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/2.949, allocations: 4 kB / 2.099 GB, free: 211.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008836/2.95, allocations: 0.594 MB / 2.099 GB, free: 211.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/2.95, allocations: 8 kB / 2.099 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/2.95, allocations: 4 kB / 2.099 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/2.95, allocations: 12 kB / 2.099 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/2.95, allocations: 115.8 kB / 2.099 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/2.95, allocations: 15.92 kB / 2.099 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/2.951, allocations: 107.4 kB / 2.099 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/2.951, allocations: 31.98 kB / 2.099 GB, free: 210.8 MB / 1.167 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 () * Number of clocked 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.0003718/2.952, allocations: 269.6 kB / 2.1 GB, free: 210.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/2.952, allocations: 110.7 kB / 2.1 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008435/2.953, allocations: 0.5005 MB / 2.1 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/2.953, allocations: 4 kB / 2.1 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.953, allocations: 0 / 2.1 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005783/2.953, allocations: 486.6 kB / 2.101 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/2.955, allocations: 1.464 MB / 2.102 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/2.955, allocations: 0 / 2.102 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/2.955, allocations: 88.05 kB / 2.102 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/2.955, allocations: 0 / 2.102 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/2.956, allocations: 19.97 kB / 2.102 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/2.956, allocations: 0 / 2.102 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.956, allocations: 7.938 kB / 2.102 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/2.957, allocations: 0.8894 MB / 2.103 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/2.957, allocations: 243.7 kB / 2.103 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/2.957, allocations: 12 kB / 2.103 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/2.958, allocations: 55.86 kB / 2.103 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/2.958, allocations: 31.89 kB / 2.104 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/2.958, allocations: 19.98 kB / 2.104 GB, free: 206.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007336/2.959, allocations: 0.6549 MB / 2.104 GB, free: 205.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/2.959, allocations: 0 / 2.104 GB, free: 205.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001147/2.96, allocations: 371.4 kB / 2.105 GB, free: 205.4 MB / 1.167 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 () * Number of clocked 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.0009183/2.961, allocations: 0.5554 MB / 2.105 GB, free: 204.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007427/2.961, allocations: 428.7 kB / 2.105 GB, free: 204.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.961, allocations: 0 / 2.105 GB, free: 204.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/2.962, allocations: 204.2 kB / 2.106 GB, free: 204.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/2.964, allocations: 0.6088 MB / 2.106 GB, free: 203.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/2.966, allocations: 1.962 MB / 2.108 GB, free: 201.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/2.967, allocations: 1.067 MB / 2.109 GB, free: 200.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007397/2.968, allocations: 196.5 kB / 2.109 GB, free: 200.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/2.968, allocations: 79.42 kB / 2.109 GB, free: 200.3 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/2.968, allocations: 0 / 2.109 GB, free: 200.3 MB / 1.167 GB Notification: Performance of Templates: time 0.03333/3.001, allocations: 22.27 MB / 2.131 GB, free: 178.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches