Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 89.25 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.089e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2718, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.926/7.198, allocations: 2.208 GB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/7.199, allocations: 83.95 kB / 3.099 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.939/11.14, allocations: 0.9687 GB / 4.068 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/11.14, allocations: 0 / 4.068 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001752/11.14, allocations: 33.47 kB / 4.068 GB, free: 143.5 MB / 0.8855 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.006854/11.14, allocations: 1.728 MB / 4.07 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/11.14, allocations: 14.94 kB / 4.07 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/11.15, allocations: 0.5405 MB / 4.07 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/11.15, allocations: 1.05 MB / 4.071 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/11.15, allocations: 202.7 kB / 4.072 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/11.15, allocations: 82.34 kB / 4.072 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/11.15, allocations: 1.133 MB / 4.073 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/11.15, allocations: 3.312 kB / 4.073 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/11.15, allocations: 31.81 kB / 4.073 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/11.16, allocations: 49.38 kB / 4.073 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/11.16, allocations: 1.176 MB / 4.074 GB, free: 142.3 MB / 0.8855 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.007266/11.16, allocations: 4.093 MB / 4.078 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/11.17, allocations: 0.7248 MB / 4.079 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/11.17, allocations: 0.498 MB / 4.079 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/11.17, allocations: 0.6057 MB / 4.08 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/11.17, allocations: 45.47 kB / 4.08 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 2.936e-06/11.17, allocations: 0 / 4.08 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002056/11.17, allocations: 0.9635 MB / 4.081 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/11.17, allocations: 58.34 kB / 4.081 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/11.17, allocations: 0.7077 MB / 4.082 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/11.17, allocations: 46.17 kB / 4.082 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/11.17, allocations: 438.7 kB / 4.082 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/11.17, allocations: 267 kB / 4.082 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/11.17, allocations: 14.09 kB / 4.082 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/11.17, allocations: 335.1 kB / 4.083 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/11.17, allocations: 377.4 kB / 4.083 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/11.17, allocations: 0.5101 MB / 4.083 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/11.17, allocations: 445 kB / 4.084 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/11.17, allocations: 0 / 4.084 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001696/11.18, allocations: 1.047 MB / 4.085 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/11.18, allocations: 493.3 kB / 4.085 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/11.18, allocations: 0 / 4.085 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/11.18, allocations: 3.938 kB / 4.085 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/11.18, allocations: 265.3 kB / 4.086 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005858/11.18, allocations: 1.204 MB / 4.087 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/11.18, allocations: 200.4 kB / 4.087 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/11.18, allocations: 39.39 kB / 4.087 GB, free: 137 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/11.18, allocations: 7.875 kB / 4.087 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/11.18, allocations: 0.9403 MB / 4.088 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/11.18, allocations: 0 / 4.088 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/11.18, allocations: 3.906 kB / 4.088 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/11.18, allocations: 252.3 kB / 4.088 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/11.18, allocations: 7.688 kB / 4.088 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/11.18, allocations: 195.8 kB / 4.088 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/11.18, allocations: 38.02 kB / 4.088 GB, free: 136.9 MB / 0.8855 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.0002613/11.18, allocations: 147.3 kB / 4.089 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/11.18, allocations: 110 kB / 4.089 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/11.19, allocations: 1.054 MB / 4.09 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/11.19, allocations: 8.188 kB / 4.09 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/11.19, allocations: 0 / 4.09 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/11.19, allocations: 3.938 kB / 4.09 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/11.19, allocations: 2.508 MB / 4.092 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/11.19, allocations: 3.25 kB / 4.092 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/11.19, allocations: 258.1 kB / 4.092 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/11.19, allocations: 7.562 kB / 4.092 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/11.19, allocations: 29.02 kB / 4.092 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005798/11.19, allocations: 1.198 MB / 4.094 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/11.19, allocations: 7.422 kB / 4.094 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/11.2, allocations: 1.324 MB / 4.095 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/11.2, allocations: 312.3 kB / 4.095 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/11.2, allocations: 16.75 kB / 4.095 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/11.2, allocations: 172.7 kB / 4.095 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/11.2, allocations: 62.66 kB / 4.095 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/11.2, allocations: 36.86 kB / 4.096 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001006/11.2, allocations: 0.5487 MB / 4.096 GB, free: 134 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/11.2, allocations: 3.156 kB / 4.096 GB, free: 134 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003024/11.2, allocations: 0.7563 MB / 4.097 GB, free: 133.8 MB / 0.8855 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.004123/11.21, allocations: 2.359 MB / 4.099 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003067/11.21, allocations: 1.574 MB / 4.101 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/11.21, allocations: 2.375 kB / 4.101 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008712/11.21, allocations: 0.5062 MB / 4.101 GB, free: 132 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/11.21, allocations: 0.5068 MB / 4.102 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/11.22, allocations: 1.521 MB / 4.103 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/11.22, allocations: 1.117 MB / 4.104 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001977/11.22, allocations: 474.4 kB / 4.105 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/11.22, allocations: 73.92 kB / 4.105 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/11.22, allocations: 0 / 4.105 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.06858/11.29, allocations: 52.97 MB / 4.156 GB, free: 89.33 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches