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.092/2.092, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001062/0.001062, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.413/1.413, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009007/0.0009009, allocations: 79.98 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.3e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2336, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.008, allocations: 1.895 GB / 3.101 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/5.008, allocations: 86.42 kB / 3.101 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.264/8.272, allocations: 0.9984 GB / 4.1 GB, free: 220.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/8.272, allocations: 0 / 4.1 GB, free: 220.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.145e-05/8.272, allocations: 25.28 kB / 4.1 GB, free: 220.8 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.005316/8.278, allocations: 1.798 MB / 4.101 GB, free: 220 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/8.278, allocations: 10.03 kB / 4.101 GB, free: 220 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/8.281, allocations: 0.5436 MB / 4.102 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/8.283, allocations: 1.072 MB / 4.103 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/8.284, allocations: 161.8 kB / 4.103 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/8.284, allocations: 48.5 kB / 4.103 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001447/8.285, allocations: 0.9989 MB / 4.104 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/8.287, allocations: 1.032 MB / 4.105 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/8.287, allocations: 3.781 kB / 4.105 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/8.287, allocations: 0 / 4.105 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/8.287, allocations: 42.12 kB / 4.105 GB, free: 219.6 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.005741/8.293, allocations: 4.02 MB / 4.109 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/8.294, allocations: 0.7251 MB / 4.11 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/8.294, allocations: 0.4914 MB / 4.11 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008529/8.295, allocations: 0.6078 MB / 4.111 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/8.295, allocations: 44.88 kB / 4.111 GB, free: 217.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/8.295, allocations: 3.938 kB / 4.111 GB, free: 217.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.002227/8.297, allocations: 1.135 MB / 4.112 GB, free: 217.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/8.297, allocations: 58.53 kB / 4.112 GB, free: 217.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/8.298, allocations: 0.5619 MB / 4.113 GB, free: 217.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/8.298, allocations: 25.7 kB / 4.113 GB, free: 217.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/8.298, allocations: 459.7 kB / 4.113 GB, free: 216.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/8.299, allocations: 254.7 kB / 4.113 GB, free: 216.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/8.299, allocations: 0 / 4.113 GB, free: 216.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/8.299, allocations: 332.2 kB / 4.114 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/8.299, allocations: 395.9 kB / 4.114 GB, free: 216.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/8.3, allocations: 0.525 MB / 4.115 GB, free: 216.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/8.301, allocations: 0.58 MB / 4.115 GB, free: 216.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/8.301, allocations: 0 / 4.115 GB, free: 216.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001851/8.303, allocations: 1.178 MB / 4.116 GB, free: 216.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/8.303, allocations: 483 kB / 4.117 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/8.303, allocations: 3.562 kB / 4.117 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/8.303, allocations: 6.906 kB / 4.117 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/8.304, allocations: 274.3 kB / 4.117 GB, free: 215.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/8.305, allocations: 1.205 MB / 4.118 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/8.306, allocations: 178.6 kB / 4.118 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/8.306, allocations: 39.53 kB / 4.118 GB, free: 214.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/8.306, allocations: 7 kB / 4.118 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/8.308, allocations: 1.055 MB / 4.119 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/8.308, allocations: 3.281 kB / 4.119 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/8.308, allocations: 7.156 kB / 4.119 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/8.309, allocations: 263.3 kB / 4.12 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/8.309, allocations: 7.953 kB / 4.12 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/8.31, allocations: 166.4 kB / 4.12 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/8.31, allocations: 43.86 kB / 4.12 GB, free: 214.6 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.0002192/8.31, allocations: 127 kB / 4.12 GB, free: 214.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/8.311, allocations: 96 kB / 4.12 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/8.313, allocations: 1.2 MB / 4.121 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/8.313, allocations: 7.812 kB / 4.121 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/8.313, allocations: 0 / 4.121 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/8.313, allocations: 3.609 kB / 4.121 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/8.316, allocations: 2.577 MB / 4.124 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/8.316, allocations: 0 / 4.124 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/8.317, allocations: 259.7 kB / 4.124 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/8.317, allocations: 7.094 kB / 4.124 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/8.318, allocations: 22.94 kB / 4.124 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003456/8.318, allocations: 1.19 MB / 4.125 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/8.318, allocations: 7.531 kB / 4.125 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/8.32, allocations: 1.482 MB / 4.127 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/8.32, allocations: 314.3 kB / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/8.32, allocations: 10.19 kB / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/8.321, allocations: 148.1 kB / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/8.322, allocations: 61.06 kB / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/8.322, allocations: 40.33 kB / 4.127 GB, free: 212 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004508/8.322, allocations: 444.2 kB / 4.128 GB, free: 211.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.322, allocations: 0 / 4.128 GB, free: 211.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001823/8.324, allocations: 0.6844 MB / 4.128 GB, free: 211.8 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.003428/8.327, allocations: 2.623 MB / 4.131 GB, free: 210.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002492/8.33, allocations: 1.618 MB / 4.133 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/8.33, allocations: 0 / 4.133 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/8.331, allocations: 0.5256 MB / 4.133 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/8.333, allocations: 423.2 kB / 4.133 GB, free: 210.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/8.345, allocations: 2.318 MB / 4.136 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/8.345, allocations: 1.115 MB / 4.137 GB, free: 208.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001979/8.347, allocations: 444 kB / 4.137 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/8.348, allocations: 80.95 kB / 4.137 GB, free: 208.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.062e-06/8.348, allocations: 0 / 4.137 GB, free: 208.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04118/8.389, allocations: 31.16 MB / 4.168 GB, free: 192.3 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