Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.QLat_flow|hex.mWat1_flow|hex.mWat2_flow|hex.Q1_flow|hex.Q2_flow|hex.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.00119/0.00119, allocations: 168.9 kB / 492.3 MB, free: 0.625 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.67/1.67, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.001131/0.001131, allocations: 93.27 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.866e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.548/6.907, allocations: 1.896 GB / 3.108 GB, free: 429.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/6.908, allocations: 92.11 kB / 3.108 GB, free: 429.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.705/10.61, allocations: 1.01 GB / 4.118 GB, free: 217.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.928e-06/10.61, allocations: 0 / 4.118 GB, free: 217.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001382/10.61, allocations: 37.47 kB / 4.118 GB, free: 217.3 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.006779/10.62, allocations: 1.774 MB / 4.12 GB, free: 216.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/10.62, allocations: 12.38 kB / 4.12 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/10.62, allocations: 0.5509 MB / 4.12 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/10.63, allocations: 1.078 MB / 4.121 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005992/10.63, allocations: 194.2 kB / 4.121 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/10.63, allocations: 86.62 kB / 4.121 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/10.63, allocations: 1.139 MB / 4.123 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/10.63, allocations: 0 / 4.123 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/10.63, allocations: 29.97 kB / 4.123 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/10.63, allocations: 50.47 kB / 4.123 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/10.63, allocations: 1.109 MB / 4.124 GB, free: 216.1 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.006564/10.64, allocations: 4.21 MB / 4.128 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/10.64, allocations: 0.7542 MB / 4.129 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000635/10.64, allocations: 0.5131 MB / 4.129 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000867/10.64, allocations: 0.6079 MB / 4.13 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/10.64, allocations: 41.97 kB / 4.13 GB, free: 213.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/10.64, allocations: 0 / 4.13 GB, free: 213.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.00189/10.64, allocations: 1.015 MB / 4.131 GB, free: 213.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/10.64, allocations: 63.16 kB / 4.131 GB, free: 213.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/10.64, allocations: 0.7 MB / 4.131 GB, free: 213.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/10.64, allocations: 44.48 kB / 4.131 GB, free: 213.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/10.64, allocations: 449.4 kB / 4.132 GB, free: 213.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/10.64, allocations: 256.6 kB / 4.132 GB, free: 213.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/10.64, allocations: 16.12 kB / 4.132 GB, free: 213.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001016/10.64, allocations: 340.1 kB / 4.132 GB, free: 213 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/10.64, allocations: 410.5 kB / 4.133 GB, free: 213 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/10.64, allocations: 0.5446 MB / 4.133 GB, free: 212.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/10.65, allocations: 467.1 kB / 4.134 GB, free: 212.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/10.65, allocations: 0 / 4.134 GB, free: 212.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001642/10.65, allocations: 1.103 MB / 4.135 GB, free: 212.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/10.65, allocations: 487.3 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/10.65, allocations: 0 / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/10.65, allocations: 3.281 kB / 4.135 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/10.65, allocations: 279.8 kB / 4.136 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005207/10.65, allocations: 1.193 MB / 4.137 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/10.65, allocations: 202.5 kB / 4.137 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/10.65, allocations: 38.58 kB / 4.137 GB, free: 211 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/10.65, allocations: 3.594 kB / 4.137 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001521/10.65, allocations: 0.9937 MB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/10.65, allocations: 2.594 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/10.65, allocations: 2.938 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/10.65, allocations: 258.2 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/10.65, allocations: 7.031 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/10.66, allocations: 201.4 kB / 4.138 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/10.66, allocations: 38.84 kB / 4.138 GB, free: 210.9 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.0002584/10.66, allocations: 155 kB / 4.139 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/10.66, allocations: 102.5 kB / 4.139 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/10.66, allocations: 1.125 MB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/10.66, allocations: 7.875 kB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/10.66, allocations: 0 / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/10.66, allocations: 3.516 kB / 4.14 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/10.66, allocations: 2.623 MB / 4.142 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/10.66, allocations: 3.625 kB / 4.142 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/10.66, allocations: 252.5 kB / 4.143 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/10.66, allocations: 7.031 kB / 4.143 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/10.66, allocations: 30.95 kB / 4.143 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005053/10.66, allocations: 1.187 MB / 4.144 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/10.66, allocations: 7.312 kB / 4.144 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/10.67, allocations: 1.386 MB / 4.145 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007348/10.67, allocations: 326.2 kB / 4.146 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/10.67, allocations: 21.81 kB / 4.146 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/10.67, allocations: 165.6 kB / 4.146 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/10.67, allocations: 62.89 kB / 4.146 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/10.67, allocations: 45.39 kB / 4.146 GB, free: 208.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009073/10.67, allocations: 0.5483 MB / 4.146 GB, free: 208.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/10.67, allocations: 2.906 kB / 4.146 GB, free: 208.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002889/10.67, allocations: 0.7598 MB / 4.147 GB, free: 208.1 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.004268/10.68, allocations: 2.367 MB / 4.149 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003167/10.68, allocations: 1.678 MB / 4.151 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/10.68, allocations: 0 / 4.151 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/10.68, allocations: 0.5377 MB / 4.152 GB, free: 206.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/10.68, allocations: 0.4995 MB / 4.152 GB, free: 206.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/10.7, allocations: 2.376 MB / 4.154 GB, free: 206.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/10.7, allocations: 1.116 MB / 4.155 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002196/10.7, allocations: 478.8 kB / 4.156 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/10.7, allocations: 85.98 kB / 4.156 GB, free: 205.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.824e-06/10.7, allocations: 0 / 4.156 GB, free: 205.3 MB / 1.151 GB Notification: Performance of Templates: time 0.06617/10.76, allocations: 53.38 MB / 4.208 GB, free: 168.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches