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.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 184.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009586/0.0009591, allocations: 97.05 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003796, allocations: 9.219 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2775, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.052/6.329, allocations: 2.208 GB / 3.108 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/6.33, allocations: 90.36 kB / 3.108 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.865/9.194, allocations: 0.9696 GB / 4.077 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/9.195, allocations: 0 / 4.077 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001734/9.195, allocations: 31.98 kB / 4.077 GB, free: 15.43 MB / 0.9011 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.007825/9.203, allocations: 1.903 MB / 4.079 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/9.203, allocations: 8.031 kB / 4.079 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/9.206, allocations: 0.5487 MB / 4.08 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/9.21, allocations: 1.054 MB / 4.081 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006654/9.21, allocations: 201.8 kB / 4.081 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/9.211, allocations: 91.92 kB / 4.081 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/9.214, allocations: 1.333 MB / 4.082 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/9.214, allocations: 0 / 4.082 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/9.214, allocations: 36 kB / 4.083 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.09e-05/9.214, allocations: 41.98 kB / 4.083 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004061/9.219, allocations: 1.569 MB / 4.084 GB, free: 8.531 MB / 0.9011 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.008302/9.227, allocations: 4.078 MB / 4.088 GB, free: 4.172 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/9.23, allocations: 1.037 MB / 4.089 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/9.231, allocations: 0.6048 MB / 4.09 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/9.231, allocations: 43.17 kB / 4.09 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/9.231, allocations: 4 kB / 4.09 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.005397/9.236, allocations: 1.894 MB / 4.092 GB, free: 464 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/9.236, allocations: 64 kB / 4.092 GB, free: 388 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5102/9.747, allocations: 0.7087 MB / 4.092 GB, free: 146.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003364/9.747, allocations: 43.55 kB / 4.092 GB, free: 146.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/9.747, allocations: 441.1 kB / 4.093 GB, free: 146.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/9.748, allocations: 266.4 kB / 4.093 GB, free: 146.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/9.748, allocations: 13.66 kB / 4.093 GB, free: 146.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/9.748, allocations: 332.1 kB / 4.093 GB, free: 146 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/9.749, allocations: 0.5633 MB / 4.094 GB, free: 146 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/9.751, allocations: 0.7072 MB / 4.095 GB, free: 145.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/9.752, allocations: 0.6212 MB / 4.095 GB, free: 145.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/9.752, allocations: 0 / 4.095 GB, free: 145.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00354/9.756, allocations: 1.415 MB / 4.097 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/9.756, allocations: 486 kB / 4.097 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/9.756, allocations: 3.281 kB / 4.097 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/9.756, allocations: 3.969 kB / 4.097 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/9.757, allocations: 267.8 kB / 4.097 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005376/9.758, allocations: 1.199 MB / 4.099 GB, free: 144.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/9.759, allocations: 200.2 kB / 4.099 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/9.76, allocations: 35.62 kB / 4.099 GB, free: 144 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/9.76, allocations: 5.406 kB / 4.099 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00313/9.763, allocations: 1.311 MB / 4.1 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/9.763, allocations: 0 / 4.1 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/9.763, allocations: 6.141 kB / 4.1 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/9.764, allocations: 254 kB / 4.1 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/9.764, allocations: 10.31 kB / 4.1 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/9.766, allocations: 192.3 kB / 4.1 GB, free: 144 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/9.766, allocations: 39.05 kB / 4.1 GB, free: 144 MB / 0.9011 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.0007907/9.767, allocations: 380.6 kB / 4.101 GB, free: 143.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/9.767, allocations: 106 kB / 4.101 GB, free: 143.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/9.771, allocations: 1.418 MB / 4.102 GB, free: 143.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/9.771, allocations: 7.531 kB / 4.102 GB, free: 143.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/9.771, allocations: 3.953 kB / 4.102 GB, free: 143.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/9.771, allocations: 4.703 kB / 4.102 GB, free: 143.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007365/9.778, allocations: 2.883 MB / 4.105 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/9.778, allocations: 5.219 kB / 4.105 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/9.78, allocations: 259.9 kB / 4.105 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/9.78, allocations: 7.484 kB / 4.105 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/9.78, allocations: 27.98 kB / 4.105 GB, free: 143.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004469/9.78, allocations: 1.188 MB / 4.107 GB, free: 142 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/9.78, allocations: 6.188 kB / 4.107 GB, free: 142 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/9.784, allocations: 1.707 MB / 4.108 GB, free: 141.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/9.785, allocations: 318.8 kB / 4.109 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/9.785, allocations: 20.23 kB / 4.109 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/9.786, allocations: 159.5 kB / 4.109 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/9.787, allocations: 65.42 kB / 4.109 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/9.787, allocations: 37.08 kB / 4.109 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001035/9.788, allocations: 0.5616 MB / 4.109 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.243e-06/9.788, allocations: 1.375 kB / 4.109 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002854/9.791, allocations: 0.7586 MB / 4.11 GB, free: 141.2 MB / 0.9011 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.004464/9.795, allocations: 2.356 MB / 4.112 GB, free: 140.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005815/9.801, allocations: 2.114 MB / 4.115 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/9.801, allocations: 1.062 kB / 4.115 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/9.803, allocations: 0.6922 MB / 4.115 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/9.805, allocations: 0.4991 MB / 4.116 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/9.809, allocations: 2.433 MB / 4.118 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/9.81, allocations: 1.116 MB / 4.119 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001699/9.811, allocations: 404.9 kB / 4.12 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/9.812, allocations: 83.64 kB / 4.12 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.182e-06/9.812, allocations: 0 / 4.12 GB, free: 138.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.06429/9.876, allocations: 45.59 MB / 4.164 GB, free: 137.7 MB / 0.9011 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