Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 251.9 MB / 266.9 MB, free: 11 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.001135/0.001135, allocations: 183.8 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008966/0.0008967, allocations: 91.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 12.47 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2754, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.63/5.906, allocations: 2.208 GB / 3.108 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/5.906, allocations: 87.95 kB / 3.108 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.586/9.492, allocations: 0.9696 GB / 4.077 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/9.492, allocations: 0 / 4.077 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001465/9.492, allocations: 28 kB / 4.077 GB, free: 51.31 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.006594/9.499, allocations: 1.899 MB / 4.079 GB, free: 49.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/9.499, allocations: 8.031 kB / 4.079 GB, free: 49.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/9.502, allocations: 0.5409 MB / 4.08 GB, free: 48.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/9.505, allocations: 1.059 MB / 4.081 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005897/9.505, allocations: 205.8 kB / 4.081 GB, free: 47.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/9.506, allocations: 91.95 kB / 4.081 GB, free: 47.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/9.509, allocations: 1.329 MB / 4.082 GB, free: 46.06 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/9.509, allocations: 0 / 4.082 GB, free: 46.06 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/9.509, allocations: 35.98 kB / 4.083 GB, free: 46.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/9.509, allocations: 49.98 kB / 4.083 GB, free: 45.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/9.512, allocations: 1.565 MB / 4.084 GB, free: 44.41 MB / 0.8855 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.007092/9.52, allocations: 4.089 MB / 4.088 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/9.522, allocations: 1.029 MB / 4.089 GB, free: 39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/9.523, allocations: 0.6048 MB / 4.09 GB, free: 38.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/9.523, allocations: 43.22 kB / 4.09 GB, free: 38.24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 4.769e-06/9.523, allocations: 3.984 kB / 4.09 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004457/9.527, allocations: 1.898 MB / 4.092 GB, free: 36.33 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/9.527, allocations: 60.02 kB / 4.092 GB, free: 36.26 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/9.528, allocations: 0.7207 MB / 4.092 GB, free: 35.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/9.528, allocations: 41.7 kB / 4.092 GB, free: 35.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/9.529, allocations: 440.6 kB / 4.093 GB, free: 35.03 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/9.529, allocations: 264.1 kB / 4.093 GB, free: 34.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/9.529, allocations: 20 kB / 4.093 GB, free: 34.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/9.529, allocations: 337.9 kB / 4.093 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/9.53, allocations: 0.5563 MB / 4.094 GB, free: 33.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/9.532, allocations: 0.6983 MB / 4.095 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/9.533, allocations: 0.6255 MB / 4.095 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/9.533, allocations: 0 / 4.095 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002904/9.536, allocations: 1.415 MB / 4.097 GB, free: 31.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/9.536, allocations: 481.3 kB / 4.097 GB, free: 30.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/9.536, allocations: 4 kB / 4.097 GB, free: 30.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/9.536, allocations: 4 kB / 4.097 GB, free: 30.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/9.537, allocations: 267.5 kB / 4.097 GB, free: 30.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/9.538, allocations: 1.199 MB / 4.099 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/9.539, allocations: 195.3 kB / 4.099 GB, free: 28.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/9.54, allocations: 39.97 kB / 4.099 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/9.54, allocations: 5.25 kB / 4.099 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00277/9.542, allocations: 1.309 MB / 4.1 GB, free: 27.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/9.542, allocations: 4 kB / 4.1 GB, free: 27.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/9.542, allocations: 8.062 kB / 4.1 GB, free: 27.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/9.544, allocations: 251.6 kB / 4.1 GB, free: 27.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/9.544, allocations: 11.95 kB / 4.1 GB, free: 27.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/9.545, allocations: 195.2 kB / 4.1 GB, free: 27.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/9.545, allocations: 35.98 kB / 4.101 GB, free: 26.98 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 () * 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.0006186/9.546, allocations: 378.1 kB / 4.101 GB, free: 26.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/9.546, allocations: 102.7 kB / 4.101 GB, free: 26.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/9.549, allocations: 1.426 MB / 4.102 GB, free: 25.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/9.549, allocations: 8 kB / 4.102 GB, free: 25.06 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/9.549, allocations: 7.938 kB / 4.102 GB, free: 25.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/9.549, allocations: 4 kB / 4.102 GB, free: 25.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005236/9.554, allocations: 2.886 MB / 4.105 GB, free: 22.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/9.554, allocations: 4 kB / 4.105 GB, free: 22.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/9.556, allocations: 255.6 kB / 4.105 GB, free: 21.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/9.556, allocations: 8 kB / 4.105 GB, free: 21.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/9.556, allocations: 27.97 kB / 4.105 GB, free: 21.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004322/9.556, allocations: 1.188 MB / 4.107 GB, free: 20.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/9.556, allocations: 4 kB / 4.107 GB, free: 20.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/9.559, allocations: 1.714 MB / 4.108 GB, free: 18.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000741/9.56, allocations: 307.5 kB / 4.109 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/9.56, allocations: 20 kB / 4.109 GB, free: 18.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/9.562, allocations: 171.7 kB / 4.109 GB, free: 18.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/9.562, allocations: 64.38 kB / 4.109 GB, free: 18.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/9.562, allocations: 31.98 kB / 4.109 GB, free: 18.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007708/9.563, allocations: 0.5622 MB / 4.109 GB, free: 17.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/9.563, allocations: 0 / 4.109 GB, free: 17.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002527/9.565, allocations: 0.7607 MB / 4.11 GB, free: 16.72 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 () * 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.003628/9.569, allocations: 2.362 MB / 4.112 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005153/9.574, allocations: 2.108 MB / 4.115 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/9.574, allocations: 7.938 kB / 4.115 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/9.576, allocations: 0.691 MB / 4.115 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/9.578, allocations: 0.5001 MB / 4.116 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/9.583, allocations: 2.436 MB / 4.118 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/9.583, allocations: 1.114 MB / 4.119 GB, free: 7.207 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00184/9.585, allocations: 395.5 kB / 4.12 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/9.586, allocations: 87.41 kB / 4.12 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/9.586, allocations: 0 / 4.12 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.5375/10.12, allocations: 45.57 MB / 4.164 GB, free: 152.5 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches