Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.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_latest_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_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.39/2.39, allocations: 390.5 MB / 398 MB, free: 10.91 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.002075/0.002075, allocations: 176.8 kB / 491.2 MB, free: 1.562 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.706/1.706, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001035/0.001034, allocations: 99.47 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.591e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.125/6.469, allocations: 1.896 GB / 3.108 GB, free: 429.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/6.47, allocations: 83.94 kB / 3.108 GB, free: 429.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.709/10.18, allocations: 0.998 GB / 4.106 GB, free: 222.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.823e-06/10.18, allocations: 3.844 kB / 4.106 GB, free: 222.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001041/10.18, allocations: 33.69 kB / 4.106 GB, free: 222.5 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.006335/10.19, allocations: 1.788 MB / 4.108 GB, free: 221.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/10.19, allocations: 7.688 kB / 4.108 GB, free: 221.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/10.19, allocations: 0.5486 MB / 4.108 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/10.19, allocations: 1.074 MB / 4.11 GB, free: 221.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00061/10.19, allocations: 168.5 kB / 4.11 GB, free: 221.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/10.19, allocations: 51.03 kB / 4.11 GB, free: 221.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001734/10.19, allocations: 0.9952 MB / 4.111 GB, free: 221.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/10.2, allocations: 1.037 MB / 4.112 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/10.2, allocations: 0 / 4.112 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/10.2, allocations: 3.438 kB / 4.112 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/10.2, allocations: 37.58 kB / 4.112 GB, free: 221.3 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.006784/10.2, allocations: 4.013 MB / 4.116 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/10.2, allocations: 0.7305 MB / 4.116 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/10.2, allocations: 0.4894 MB / 4.117 GB, free: 219.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/10.21, allocations: 0.6166 MB / 4.117 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/10.21, allocations: 38.62 kB / 4.118 GB, free: 219.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/10.21, allocations: 0 / 4.118 GB, free: 219.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002332/10.21, allocations: 1.13 MB / 4.119 GB, free: 219.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/10.21, allocations: 61.44 kB / 4.119 GB, free: 219 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/10.21, allocations: 0.567 MB / 4.119 GB, free: 218.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/10.21, allocations: 28.36 kB / 4.119 GB, free: 218.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/10.21, allocations: 452.5 kB / 4.12 GB, free: 218.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/10.21, allocations: 248.9 kB / 4.12 GB, free: 218.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/10.21, allocations: 2.594 kB / 4.12 GB, free: 218.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/10.21, allocations: 336.4 kB / 4.12 GB, free: 218.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/10.21, allocations: 390.7 kB / 4.121 GB, free: 218.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/10.21, allocations: 0.5269 MB / 4.121 GB, free: 218.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/10.21, allocations: 0.5795 MB / 4.122 GB, free: 218.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/10.21, allocations: 3.953 kB / 4.122 GB, free: 218.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002017/10.21, allocations: 1.174 MB / 4.123 GB, free: 218 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/10.21, allocations: 482.2 kB / 4.123 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/10.21, allocations: 6.156 kB / 4.123 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/10.21, allocations: 10.91 kB / 4.123 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/10.22, allocations: 281.1 kB / 4.124 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005603/10.22, allocations: 1.209 MB / 4.125 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/10.22, allocations: 175.5 kB / 4.125 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/10.22, allocations: 46.94 kB / 4.125 GB, free: 216.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/10.22, allocations: 5.906 kB / 4.125 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001809/10.22, allocations: 1.059 MB / 4.126 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/10.22, allocations: 0 / 4.126 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/10.22, allocations: 3.469 kB / 4.126 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/10.22, allocations: 259 kB / 4.126 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/10.22, allocations: 8.781 kB / 4.126 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/10.22, allocations: 164 kB / 4.126 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/10.22, allocations: 42.28 kB / 4.126 GB, free: 216.3 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.0002825/10.22, allocations: 122.6 kB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/10.22, allocations: 95.31 kB / 4.127 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/10.23, allocations: 1.206 MB / 4.128 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/10.23, allocations: 6.969 kB / 4.128 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/10.23, allocations: 0 / 4.128 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/10.23, allocations: 3.562 kB / 4.128 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/10.23, allocations: 2.575 MB / 4.13 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/10.23, allocations: 6.219 kB / 4.13 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/10.23, allocations: 262.8 kB / 4.131 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/10.23, allocations: 10.66 kB / 4.131 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/10.23, allocations: 18.84 kB / 4.131 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004476/10.23, allocations: 1.196 MB / 4.132 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/10.23, allocations: 3.781 kB / 4.132 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/10.23, allocations: 1.486 MB / 4.133 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/10.23, allocations: 309.3 kB / 4.134 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/10.23, allocations: 6.344 kB / 4.134 GB, free: 213.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/10.24, allocations: 156.9 kB / 4.134 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/10.24, allocations: 68.83 kB / 4.134 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/10.24, allocations: 35.47 kB / 4.134 GB, free: 213.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005679/10.24, allocations: 441.9 kB / 4.134 GB, free: 213.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/10.24, allocations: 0 / 4.134 GB, free: 213.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002188/10.24, allocations: 0.6774 MB / 4.135 GB, free: 213.6 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.003977/10.24, allocations: 2.617 MB / 4.137 GB, free: 212.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002949/10.25, allocations: 1.612 MB / 4.139 GB, free: 212.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/10.25, allocations: 3.906 kB / 4.139 GB, free: 212.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00085/10.25, allocations: 0.5239 MB / 4.14 GB, free: 212.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/10.25, allocations: 418.9 kB / 4.14 GB, free: 212.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/10.26, allocations: 2.328 MB / 4.142 GB, free: 212 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/10.26, allocations: 1.116 MB / 4.143 GB, free: 211.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002304/10.26, allocations: 443.6 kB / 4.144 GB, free: 211.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/10.27, allocations: 76.69 kB / 4.144 GB, free: 211.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.707e-06/10.27, allocations: 0 / 4.144 GB, free: 211.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05174/10.32, allocations: 31.16 MB / 4.174 GB, free: 201.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches