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.402/2.402, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001327/0.001327, allocations: 173.2 kB / 498.1 MB, free: 5.742 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.729/1.729, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001113/0.001113, allocations: 98.44 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004956, allocations: 15.83 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3843, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.06/5.444, allocations: 1.896 GB / 3.119 GB, free: 118.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/5.445, allocations: 87.95 kB / 3.119 GB, free: 118.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.071/9.516, allocations: 1.01 GB / 4.129 GB, free: 231.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.685e-06/9.516, allocations: 0 / 4.129 GB, free: 231.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001424/9.516, allocations: 33.58 kB / 4.129 GB, free: 231.6 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007895/9.524, allocations: 1.961 MB / 4.131 GB, free: 231.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/9.524, allocations: 12.97 kB / 4.131 GB, free: 231.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/9.528, allocations: 0.5504 MB / 4.132 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/9.532, allocations: 1.076 MB / 4.133 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007079/9.533, allocations: 196 kB / 4.133 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/9.533, allocations: 82 kB / 4.133 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/9.537, allocations: 1.346 MB / 4.134 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/9.537, allocations: 3.844 kB / 4.134 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/9.537, allocations: 33.59 kB / 4.134 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/9.537, allocations: 40.98 kB / 4.134 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/9.541, allocations: 1.502 MB / 4.136 GB, free: 230.7 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.008873/9.55, allocations: 4.205 MB / 4.14 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/9.553, allocations: 1.077 MB / 4.141 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/9.554, allocations: 0.6095 MB / 4.141 GB, free: 228.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/9.554, allocations: 42.41 kB / 4.142 GB, free: 228.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.896e-06/9.554, allocations: 0.8438 kB / 4.142 GB, free: 228.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.005543/9.56, allocations: 1.988 MB / 4.143 GB, free: 228.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/9.56, allocations: 62.59 kB / 4.144 GB, free: 228.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/9.561, allocations: 0.7088 MB / 4.144 GB, free: 228.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/9.561, allocations: 42.33 kB / 4.144 GB, free: 228.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/9.562, allocations: 451.8 kB / 4.145 GB, free: 228 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/9.562, allocations: 259.2 kB / 4.145 GB, free: 227.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/9.562, allocations: 19.41 kB / 4.145 GB, free: 227.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/9.562, allocations: 335.9 kB / 4.145 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/9.564, allocations: 0.5904 MB / 4.146 GB, free: 227.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/9.565, allocations: 0.7385 MB / 4.147 GB, free: 227.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/9.567, allocations: 0.6386 MB / 4.147 GB, free: 227.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/9.567, allocations: 3.344 kB / 4.147 GB, free: 227.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003363/9.57, allocations: 1.48 MB / 4.149 GB, free: 227.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/9.57, allocations: 482.8 kB / 4.149 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/9.57, allocations: 0 / 4.149 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/9.57, allocations: 6.406 kB / 4.149 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/9.572, allocations: 270.3 kB / 4.149 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005443/9.572, allocations: 1.2 MB / 4.151 GB, free: 225.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/9.574, allocations: 203.8 kB / 4.151 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/9.574, allocations: 39.06 kB / 4.151 GB, free: 225.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/9.574, allocations: 7.969 kB / 4.151 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003206/9.577, allocations: 1.377 MB / 4.152 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/9.577, allocations: 3.953 kB / 4.152 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/9.577, allocations: 7 kB / 4.152 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/9.579, allocations: 262 kB / 4.152 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/9.579, allocations: 3.906 kB / 4.152 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/9.58, allocations: 195.7 kB / 4.153 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/9.58, allocations: 36.69 kB / 4.153 GB, free: 225.6 MB / 1.167 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 () * Number of clocked 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.0007983/9.581, allocations: 385.2 kB / 4.153 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/9.581, allocations: 102.6 kB / 4.153 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/9.585, allocations: 1.492 MB / 4.155 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/9.585, allocations: 10.12 kB / 4.155 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/9.585, allocations: 0 / 4.155 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/9.585, allocations: 7.828 kB / 4.155 GB, free: 225.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/9.59, allocations: 2.981 MB / 4.157 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/9.59, allocations: 2.875 kB / 4.157 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/9.591, allocations: 256.3 kB / 4.158 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/9.591, allocations: 7.438 kB / 4.158 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/9.591, allocations: 33.44 kB / 4.158 GB, free: 224.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004061/9.592, allocations: 1.198 MB / 4.159 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/9.592, allocations: 9.562 kB / 4.159 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/9.595, allocations: 1.762 MB / 4.161 GB, free: 223.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/9.596, allocations: 324.5 kB / 4.161 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/9.596, allocations: 16.25 kB / 4.161 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/9.597, allocations: 170.2 kB / 4.161 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/9.598, allocations: 62.05 kB / 4.161 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/9.598, allocations: 42.72 kB / 4.161 GB, free: 222.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007596/9.598, allocations: 0.56 MB / 4.162 GB, free: 222.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.3e-07/9.598, allocations: 0 / 4.162 GB, free: 222.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002478/9.601, allocations: 0.7651 MB / 4.163 GB, free: 222.8 MB / 1.167 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 () * Number of clocked 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.003578/9.604, allocations: 2.358 MB / 4.165 GB, free: 221.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004992/9.609, allocations: 2.217 MB / 4.167 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/9.609, allocations: 3.594 kB / 4.167 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/9.611, allocations: 0.7251 MB / 4.168 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/9.614, allocations: 0.5001 MB / 4.168 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/9.628, allocations: 3.302 MB / 4.171 GB, free: 220.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/9.629, allocations: 1.117 MB / 4.173 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002038/9.631, allocations: 418 kB / 4.173 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/9.631, allocations: 96.41 kB / 4.173 GB, free: 220 MB / 1.167 GB Notification: Performance of SimCode: time 6.21e-07/9.631, allocations: 6.797 kB / 4.173 GB, free: 220 MB / 1.167 GB Notification: Performance of Templates: time 0.06384/9.695, allocations: 45.99 MB / 4.218 GB, free: 219.4 MB / 1.167 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