Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.ConstantEffectivenessZeroFlow,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.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,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.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0009396/0.0009396, allocations: 180.6 kB / 487.4 MB, free: 5.043 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.432/1.432, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.0009325/0.0009325, allocations: 99.83 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.664e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2572, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/5.152, allocations: 1.895 GB / 3.101 GB, free: 437.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/5.153, allocations: 85.27 kB / 3.101 GB, free: 437.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.478/8.631, allocations: 0.9984 GB / 4.1 GB, free: 228.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.013e-06/8.631, allocations: 0 / 4.1 GB, free: 228.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001731/8.631, allocations: 35.72 kB / 4.1 GB, free: 228.7 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.0068/8.638, allocations: 1.785 MB / 4.101 GB, free: 227.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/8.638, allocations: 7.281 kB / 4.101 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/8.641, allocations: 0.5499 MB / 4.102 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/8.645, allocations: 1.068 MB / 4.103 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006695/8.646, allocations: 166 kB / 4.103 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/8.647, allocations: 54.03 kB / 4.103 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002578/8.649, allocations: 0.9893 MB / 4.104 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/8.652, allocations: 1.035 MB / 4.105 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/8.652, allocations: 0 / 4.105 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/8.652, allocations: 0 / 4.105 GB, free: 227.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/8.652, allocations: 45.12 kB / 4.105 GB, free: 227.5 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.0087/8.661, allocations: 4.021 MB / 4.109 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/8.662, allocations: 0.7294 MB / 4.11 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/8.663, allocations: 499.7 kB / 4.11 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/8.664, allocations: 0.6089 MB / 4.111 GB, free: 225.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/8.664, allocations: 45.41 kB / 4.111 GB, free: 225.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.777e-06/8.664, allocations: 0 / 4.111 GB, free: 225.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002649/8.666, allocations: 1.136 MB / 4.112 GB, free: 225.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/8.666, allocations: 62.16 kB / 4.112 GB, free: 225.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/8.667, allocations: 0.5631 MB / 4.113 GB, free: 225.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/8.667, allocations: 28.67 kB / 4.113 GB, free: 225.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/8.668, allocations: 453.4 kB / 4.113 GB, free: 224.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/8.668, allocations: 253.2 kB / 4.113 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/8.668, allocations: 2.375 kB / 4.113 GB, free: 224.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/8.668, allocations: 333 kB / 4.114 GB, free: 224.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/8.669, allocations: 390.8 kB / 4.114 GB, free: 224.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/8.669, allocations: 0.5282 MB / 4.115 GB, free: 224.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/8.67, allocations: 0.5794 MB / 4.115 GB, free: 224.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/8.671, allocations: 0 / 4.115 GB, free: 224.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002126/8.673, allocations: 1.179 MB / 4.116 GB, free: 224.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000171/8.673, allocations: 486.8 kB / 4.117 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.673, allocations: 3.938 kB / 4.117 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/8.673, allocations: 3.938 kB / 4.117 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/8.674, allocations: 276.1 kB / 4.117 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005924/8.675, allocations: 1.204 MB / 4.118 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/8.677, allocations: 179.7 kB / 4.118 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/8.677, allocations: 41.97 kB / 4.118 GB, free: 222.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/8.677, allocations: 3.875 kB / 4.118 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001847/8.679, allocations: 1.063 MB / 4.119 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/8.679, allocations: 3.5 kB / 4.119 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/8.679, allocations: 7.625 kB / 4.119 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/8.68, allocations: 256.3 kB / 4.12 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/8.68, allocations: 3.875 kB / 4.12 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/8.681, allocations: 173.5 kB / 4.12 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/8.681, allocations: 39.38 kB / 4.12 GB, free: 222.5 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.0002749/8.682, allocations: 123.9 kB / 4.12 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/8.682, allocations: 99.14 kB / 4.12 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/8.684, allocations: 1.201 MB / 4.121 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/8.684, allocations: 7.406 kB / 4.121 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/8.684, allocations: 0 / 4.121 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/8.684, allocations: 2.953 kB / 4.121 GB, free: 222.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/8.689, allocations: 2.579 MB / 4.124 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/8.689, allocations: 3.656 kB / 4.124 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/8.69, allocations: 256 kB / 4.124 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/8.69, allocations: 12.66 kB / 4.124 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/8.69, allocations: 14.09 kB / 4.124 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/8.69, allocations: 1.193 MB / 4.125 GB, free: 220.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/8.69, allocations: 8.25 kB / 4.125 GB, free: 220.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/8.693, allocations: 1.486 MB / 4.127 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/8.693, allocations: 314 kB / 4.127 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/8.693, allocations: 6.938 kB / 4.127 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/8.695, allocations: 151.7 kB / 4.127 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/8.695, allocations: 65.28 kB / 4.127 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/8.695, allocations: 36.89 kB / 4.127 GB, free: 220 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007111/8.696, allocations: 447.5 kB / 4.128 GB, free: 219.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.9e-07/8.696, allocations: 0 / 4.128 GB, free: 219.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002708/8.699, allocations: 0.6827 MB / 4.128 GB, free: 219.9 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.004393/8.703, allocations: 2.611 MB / 4.131 GB, free: 219 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003049/8.706, allocations: 1.617 MB / 4.132 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/8.706, allocations: 7.094 kB / 4.133 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008592/8.707, allocations: 0.5131 MB / 4.133 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/8.71, allocations: 432.3 kB / 4.133 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/8.723, allocations: 2.313 MB / 4.136 GB, free: 218.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/8.724, allocations: 1.124 MB / 4.137 GB, free: 217.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002787/8.727, allocations: 446.2 kB / 4.137 GB, free: 217.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/8.728, allocations: 74.77 kB / 4.137 GB, free: 217.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.203e-06/8.728, allocations: 0 / 4.137 GB, free: 217.6 MB / 1.151 GB Notification: Performance of Templates: time 0.0496/8.777, allocations: 31.16 MB / 4.168 GB, free: 214.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_9_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches