Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001115/0.001115, allocations: 176.9 kB / 487.4 MB, free: 5.066 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.451/1.451, allocations: 221.5 MB / 0.7824 GB, free: 1.039 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.0009603/0.0009603, allocations: 95.42 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.582e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2573, allocations: 142.4 MB / 1.206 GB, free: 44.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.944/5.201, allocations: 1.895 GB / 3.101 GB, free: 357.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/5.202, allocations: 82.83 kB / 3.101 GB, free: 357.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.61/8.812, allocations: 0.998 GB / 4.099 GB, free: 220.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.272e-06/8.812, allocations: 0 / 4.099 GB, free: 220.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.785e-05/8.812, allocations: 35.45 kB / 4.099 GB, free: 220.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005465/8.818, allocations: 1.795 MB / 4.101 GB, free: 220.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/8.818, allocations: 6.781 kB / 4.101 GB, free: 220.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/8.821, allocations: 0.5477 MB / 4.101 GB, free: 220.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/8.823, allocations: 1.071 MB / 4.102 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/8.824, allocations: 164.1 kB / 4.103 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/8.824, allocations: 51.34 kB / 4.103 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/8.825, allocations: 0.9939 MB / 4.104 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/8.827, allocations: 1.032 MB / 4.105 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/8.827, allocations: 0 / 4.105 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/8.827, allocations: 3.344 kB / 4.105 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/8.827, allocations: 41.5 kB / 4.105 GB, free: 219.7 MB / 1.151 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.005834/8.833, allocations: 4.02 MB / 4.109 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/8.834, allocations: 0.724 MB / 4.109 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/8.835, allocations: 0.4959 MB / 4.11 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008667/8.835, allocations: 0.6049 MB / 4.11 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/8.836, allocations: 45.59 kB / 4.11 GB, free: 217.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/8.836, allocations: 0 / 4.11 GB, free: 217.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002222/8.838, allocations: 1.129 MB / 4.111 GB, free: 217.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/8.838, allocations: 61.97 kB / 4.112 GB, free: 217.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/8.838, allocations: 0.5668 MB / 4.112 GB, free: 217.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.513e-05/8.839, allocations: 29.31 kB / 4.112 GB, free: 217.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/8.839, allocations: 452.1 kB / 4.113 GB, free: 217.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/8.839, allocations: 249.4 kB / 4.113 GB, free: 217 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/8.839, allocations: 6.469 kB / 4.113 GB, free: 217 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/8.839, allocations: 333.4 kB / 4.113 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/8.84, allocations: 389.5 kB / 4.113 GB, free: 216.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/8.84, allocations: 0.5271 MB / 4.114 GB, free: 216.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/8.841, allocations: 0.5776 MB / 4.115 GB, free: 216.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/8.841, allocations: 0 / 4.115 GB, free: 216.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00186/8.843, allocations: 1.183 MB / 4.116 GB, free: 216.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/8.843, allocations: 487.8 kB / 4.116 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/8.843, allocations: 3.125 kB / 4.116 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/8.843, allocations: 3.938 kB / 4.116 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/8.845, allocations: 277.8 kB / 4.116 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005016/8.845, allocations: 1.204 MB / 4.118 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/8.847, allocations: 177.2 kB / 4.118 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/8.847, allocations: 41.34 kB / 4.118 GB, free: 214.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/8.847, allocations: 3.625 kB / 4.118 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001724/8.848, allocations: 1.058 MB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/8.848, allocations: 3.406 kB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/8.848, allocations: 5.75 kB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/8.85, allocations: 259.9 kB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/8.85, allocations: 3.594 kB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/8.851, allocations: 170.9 kB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/8.851, allocations: 41.42 kB / 4.119 GB, free: 214.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002378/8.851, allocations: 131.3 kB / 4.119 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/8.851, allocations: 94.22 kB / 4.12 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/8.853, allocations: 1.199 MB / 4.121 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/8.853, allocations: 12.81 kB / 4.121 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/8.853, allocations: 0 / 4.121 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/8.853, allocations: 7.047 kB / 4.121 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/8.857, allocations: 2.572 MB / 4.123 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/8.857, allocations: 7.469 kB / 4.123 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/8.858, allocations: 256.5 kB / 4.123 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/8.858, allocations: 13.66 kB / 4.124 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/8.858, allocations: 15.67 kB / 4.124 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003736/8.859, allocations: 1.195 MB / 4.125 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/8.859, allocations: 7.812 kB / 4.125 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/8.861, allocations: 1.48 MB / 4.126 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/8.861, allocations: 309.1 kB / 4.126 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/8.861, allocations: 19.19 kB / 4.126 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/8.862, allocations: 146 kB / 4.127 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/8.863, allocations: 57.22 kB / 4.127 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/8.863, allocations: 40.59 kB / 4.127 GB, free: 212.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004981/8.863, allocations: 447.9 kB / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/8.863, allocations: 0 / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002031/8.865, allocations: 0.6837 MB / 4.128 GB, free: 212 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00363/8.869, allocations: 2.616 MB / 4.13 GB, free: 211.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002636/8.872, allocations: 1.616 MB / 4.132 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/8.872, allocations: 0 / 4.132 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/8.872, allocations: 0.527 MB / 4.132 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/8.875, allocations: 424.7 kB / 4.133 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/8.887, allocations: 2.312 MB / 4.135 GB, free: 209.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/8.888, allocations: 1.114 MB / 4.136 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002324/8.89, allocations: 444.6 kB / 4.137 GB, free: 208.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/8.891, allocations: 78.05 kB / 4.137 GB, free: 208.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.272e-06/8.891, allocations: 7.062 kB / 4.137 GB, free: 208.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05362/8.944, allocations: 31.15 MB / 4.167 GB, free: 193 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches