Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.00131/0.00131, allocations: 184.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.79/1.79, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001023/0.001023, allocations: 78.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.586e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.061/7.308, allocations: 2.5 GB / 3.392 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/7.308, allocations: 106.9 kB / 3.392 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.094/14.4, allocations: 1.62 GB / 5.012 GB, free: 94.01 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.006e-06/14.4, allocations: 1.531 kB / 5.012 GB, free: 94.01 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006165/14.4, allocations: 72.39 kB / 5.012 GB, free: 94.01 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01395/14.42, allocations: 2.851 MB / 5.015 GB, free: 93.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/14.42, allocations: 8.781 kB / 5.015 GB, free: 93.07 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006164/14.42, allocations: 0.6737 MB / 5.016 GB, free: 92.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009854/14.43, allocations: 2.78 MB / 5.018 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/14.43, allocations: 146.4 kB / 5.018 GB, free: 92.49 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009919/14.43, allocations: 191.1 kB / 5.019 GB, free: 92.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006712/14.44, allocations: 2.172 MB / 5.021 GB, free: 92.29 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.121e-05/14.44, allocations: 2.25 kB / 5.021 GB, free: 92.29 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000512/14.44, allocations: 83.98 kB / 5.021 GB, free: 92.29 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/14.44, allocations: 78.7 kB / 5.021 GB, free: 92.28 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004449/14.45, allocations: 1.85 MB / 5.023 GB, free: 92.27 MB / 0.9323 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.01509/14.46, allocations: 9.109 MB / 5.032 GB, free: 88.42 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/14.46, allocations: 0.9441 MB / 5.033 GB, free: 88.38 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/14.46, allocations: 0.5639 MB / 5.033 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004326/14.47, allocations: 2.308 MB / 5.035 GB, free: 87.29 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/14.47, allocations: 46.03 kB / 5.035 GB, free: 87.25 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001318/14.47, allocations: 177.3 kB / 5.036 GB, free: 87.22 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 3.126e-06/14.47, allocations: 0 / 5.036 GB, free: 87.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.006228/14.48, allocations: 2.916 MB / 5.038 GB, free: 86.48 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/14.48, allocations: 64.22 kB / 5.038 GB, free: 86.42 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/14.48, allocations: 1.784 MB / 5.04 GB, free: 86.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/14.48, allocations: 49.64 kB / 5.04 GB, free: 86.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008418/14.48, allocations: 1.191 MB / 5.041 GB, free: 85.81 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/14.48, allocations: 365.4 kB / 5.042 GB, free: 85.58 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/14.48, allocations: 30.53 kB / 5.042 GB, free: 85.58 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001034/14.48, allocations: 362.4 kB / 5.042 GB, free: 85.27 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/14.48, allocations: 445.3 kB / 5.043 GB, free: 85.27 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/14.48, allocations: 1.022 MB / 5.044 GB, free: 84.57 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/14.49, allocations: 2.261 MB / 5.046 GB, free: 84.45 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/14.49, allocations: 8.859 kB / 5.046 GB, free: 84.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004353/14.5, allocations: 1.854 MB / 5.048 GB, free: 84.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/14.5, allocations: 5.957 MB / 5.053 GB, free: 77.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/14.5, allocations: 16.84 kB / 5.053 GB, free: 77.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/14.5, allocations: 357.9 kB / 5.054 GB, free: 77.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/14.5, allocations: 290.6 kB / 5.054 GB, free: 77.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009049/14.5, allocations: 0.9697 MB / 5.055 GB, free: 77.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/14.5, allocations: 169.2 kB / 5.055 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/14.5, allocations: 78.81 kB / 5.055 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/14.5, allocations: 7.781 kB / 5.055 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003145/14.51, allocations: 1.609 MB / 5.057 GB, free: 77.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/14.51, allocations: 16.38 kB / 5.057 GB, free: 77.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/14.51, allocations: 357 kB / 5.057 GB, free: 77.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/14.51, allocations: 286.6 kB / 5.057 GB, free: 77.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008498/14.51, allocations: 0.9693 MB / 5.058 GB, free: 76.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/14.51, allocations: 151.2 kB / 5.059 GB, free: 76.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/14.51, allocations: 74.23 kB / 5.059 GB, free: 76.79 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004745/14.51, allocations: 202.4 kB / 5.059 GB, free: 76.68 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/14.51, allocations: 235.3 kB / 5.059 GB, free: 76.55 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/14.52, allocations: 1.5 MB / 5.06 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/14.52, allocations: 17.14 kB / 5.061 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/14.52, allocations: 3.562 kB / 5.061 GB, free: 76.43 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/14.52, allocations: 1.163 MB / 5.062 GB, free: 76.33 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.007492/14.53, allocations: 3.747 MB / 5.065 GB, free: 75.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/14.53, allocations: 10.48 kB / 5.065 GB, free: 75.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/14.53, allocations: 176.7 kB / 5.065 GB, free: 75.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/14.53, allocations: 322.5 kB / 5.066 GB, free: 75.63 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/14.53, allocations: 34.97 kB / 5.066 GB, free: 75.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008593/14.53, allocations: 0.9312 MB / 5.067 GB, free: 75.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/14.53, allocations: 11.94 kB / 5.067 GB, free: 75.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/14.53, allocations: 2.521 MB / 5.069 GB, free: 74.04 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/14.54, allocations: 447.7 kB / 5.07 GB, free: 73.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/14.54, allocations: 21.81 kB / 5.07 GB, free: 73.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/14.54, allocations: 107.5 kB / 5.07 GB, free: 73.82 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/14.54, allocations: 83.31 kB / 5.07 GB, free: 73.81 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/14.54, allocations: 44.27 kB / 5.07 GB, free: 73.81 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002267/14.54, allocations: 1.367 MB / 5.071 GB, free: 73.65 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.5e-07/14.54, allocations: 0 / 5.071 GB, free: 73.65 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005753/14.55, allocations: 1.407 MB / 5.073 GB, free: 73.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006035/14.55, allocations: 3.716 MB / 5.076 GB, free: 72.09 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004419/14.56, allocations: 2.026 MB / 5.078 GB, free: 72.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/14.56, allocations: 3.25 kB / 5.078 GB, free: 72.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/14.56, allocations: 0.5332 MB / 5.079 GB, free: 72.04 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007614/14.56, allocations: 1.322 MB / 5.08 GB, free: 72.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009395/14.57, allocations: 3.93 MB / 5.084 GB, free: 71.02 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/14.58, allocations: 1.74 MB / 5.086 GB, free: 70.29 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004079/14.58, allocations: 0.7878 MB / 5.086 GB, free: 70.26 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/14.58, allocations: 129.5 kB / 5.086 GB, free: 70.25 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/14.58, allocations: 2.312 kB / 5.086 GB, free: 70.25 MB / 0.9323 GB Notification: Performance of Templates: time 0.1398/14.72, allocations: 92.33 MB / 5.177 GB, free: 65.61 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches