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.344/1.344, 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.001109/0.001109, allocations: 182.9 kB / 326.5 MB, free: 2.219 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.598/1.598, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.000907/0.0009069, allocations: 86.38 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 9.375 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.245/5.448, allocations: 2.5 GB / 3.4 GB, free: 20.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/5.449, allocations: 108.7 kB / 3.4 GB, free: 20 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.608/11.06, allocations: 1.623 GB / 5.023 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.344e-06/11.06, allocations: 0 / 5.023 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004624/11.06, allocations: 78.12 kB / 5.023 GB, free: 103.4 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.01394/11.07, allocations: 3.426 MB / 5.026 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/11.07, allocations: 14.64 kB / 5.026 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/11.08, allocations: 0.6684 MB / 5.027 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009238/11.09, allocations: 2.8 MB / 5.03 GB, free: 101 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/11.09, allocations: 146.1 kB / 5.03 GB, free: 101 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00086/11.09, allocations: 197.1 kB / 5.03 GB, free: 101 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006206/11.09, allocations: 2.216 MB / 5.032 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.575e-05/11.09, allocations: 0 / 5.032 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004025/11.09, allocations: 82.25 kB / 5.032 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/11.09, allocations: 74.86 kB / 5.032 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/11.1, allocations: 1.913 MB / 5.034 GB, free: 99.91 MB / 0.9323 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.01495/11.11, allocations: 9.112 MB / 5.043 GB, free: 93.77 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/11.11, allocations: 0.9534 MB / 5.044 GB, free: 93.37 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004389/11.12, allocations: 2.321 MB / 5.046 GB, free: 91.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/11.12, allocations: 46.53 kB / 5.046 GB, free: 91.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001594/11.12, allocations: 176.6 kB / 5.046 GB, free: 91.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 9.478e-06/11.12, allocations: 0 / 5.046 GB, free: 91.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.01104/11.13, allocations: 3.911 MB / 5.05 GB, free: 89.78 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/11.13, allocations: 62.94 kB / 5.05 GB, free: 89.71 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/11.14, allocations: 1.793 MB / 5.052 GB, free: 88.28 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/11.14, allocations: 57.7 kB / 5.052 GB, free: 88.22 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009497/11.14, allocations: 1.185 MB / 5.053 GB, free: 87.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/11.14, allocations: 366.7 kB / 5.054 GB, free: 86.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/11.14, allocations: 28 kB / 5.054 GB, free: 86.66 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001015/11.14, allocations: 361.1 kB / 5.054 GB, free: 86.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007811/11.14, allocations: 471.7 kB / 5.054 GB, free: 85.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/11.14, allocations: 1.046 MB / 5.055 GB, free: 84.55 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.009292/11.15, allocations: 2.119 MB / 5.057 GB, free: 82.45 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/11.15, allocations: 4 kB / 5.057 GB, free: 82.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003576/11.15, allocations: 1.768 MB / 5.059 GB, free: 80.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001192/11.15, allocations: 5.968 MB / 5.065 GB, free: 74.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/11.15, allocations: 12 kB / 5.065 GB, free: 74.12 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/11.15, allocations: 339.3 kB / 5.065 GB, free: 73.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/11.16, allocations: 295.5 kB / 5.066 GB, free: 73.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/11.16, allocations: 0.9697 MB / 5.067 GB, free: 72.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/11.16, allocations: 171.5 kB / 5.067 GB, free: 72.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/11.16, allocations: 79.91 kB / 5.067 GB, free: 72.26 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/11.16, allocations: 6.656 kB / 5.067 GB, free: 72.25 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002367/11.16, allocations: 1.52 MB / 5.068 GB, free: 70.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.352e-05/11.16, allocations: 16 kB / 5.068 GB, free: 70.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/11.16, allocations: 337.2 kB / 5.069 GB, free: 70.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/11.17, allocations: 291.5 kB / 5.069 GB, free: 70.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008477/11.17, allocations: 0.971 MB / 5.07 GB, free: 69.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/11.17, allocations: 147.6 kB / 5.07 GB, free: 68.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/11.17, allocations: 75.97 kB / 5.07 GB, free: 68.88 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 () * Number of clocked 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.001507/11.17, allocations: 0.6614 MB / 5.071 GB, free: 68.21 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005708/11.17, allocations: 237.1 kB / 5.071 GB, free: 67.98 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/11.17, allocations: 1.383 MB / 5.072 GB, free: 66.58 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/11.17, allocations: 15.94 kB / 5.072 GB, free: 66.57 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/11.17, allocations: 8 kB / 5.072 GB, free: 66.56 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/11.17, allocations: 1.054 MB / 5.073 GB, free: 65.49 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.007182/11.18, allocations: 3.78 MB / 5.077 GB, free: 61.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/11.18, allocations: 4.719 kB / 5.077 GB, free: 61.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/11.18, allocations: 175.8 kB / 5.077 GB, free: 61.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/11.18, allocations: 315.6 kB / 5.078 GB, free: 61.07 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/11.18, allocations: 27.94 kB / 5.078 GB, free: 61.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007741/11.19, allocations: 0.9314 MB / 5.078 GB, free: 60.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/11.19, allocations: 11.92 kB / 5.078 GB, free: 60.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/11.19, allocations: 2.568 MB / 5.081 GB, free: 57.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/11.19, allocations: 442 kB / 5.081 GB, free: 56.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/11.19, allocations: 24 kB / 5.081 GB, free: 56.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/11.19, allocations: 103.8 kB / 5.082 GB, free: 56.69 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/11.19, allocations: 76.8 kB / 5.082 GB, free: 56.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/11.19, allocations: 47.97 kB / 5.082 GB, free: 56.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002727/11.2, allocations: 1.388 MB / 5.083 GB, free: 55.17 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/11.2, allocations: 4 kB / 5.083 GB, free: 55.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005839/11.2, allocations: 1.402 MB / 5.084 GB, free: 53.76 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 () * Number of clocked 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.005066/11.21, allocations: 3.732 MB / 5.088 GB, free: 49.81 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003845/11.21, allocations: 1.992 MB / 5.09 GB, free: 47.82 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/11.21, allocations: 0 / 5.09 GB, free: 47.82 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/11.21, allocations: 0.5517 MB / 5.09 GB, free: 47.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005991/11.22, allocations: 1.309 MB / 5.092 GB, free: 46.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00986/11.23, allocations: 5.639 MB / 5.097 GB, free: 40.28 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/11.23, allocations: 1.741 MB / 5.099 GB, free: 38.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003069/11.23, allocations: 0.5639 MB / 5.1 GB, free: 37.97 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/11.23, allocations: 163.4 kB / 5.1 GB, free: 37.81 MB / 0.9323 GB Notification: Performance of SimCode: time 1.142e-06/11.23, allocations: 4 kB / 5.1 GB, free: 37.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.6258/11.86, allocations: 80.73 MB / 5.179 GB, free: 127.5 MB / 0.948 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