Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.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_9_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_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001108/0.001107, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.609/1.609, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009326/0.0009325, allocations: 87.92 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.81e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2673, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.723/5.99, allocations: 2.21 GB / 3.416 GB, free: 89.07 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/5.99, allocations: 99.59 kB / 3.416 GB, free: 89.02 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.872/12.86, allocations: 1.681 GB / 5.097 GB, free: 152.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.744e-06/12.86, allocations: 0 / 5.097 GB, free: 152.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004788/12.86, allocations: 69.89 kB / 5.098 GB, free: 152.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01265/12.88, allocations: 2.885 MB / 5.1 GB, free: 151.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/12.88, allocations: 10.97 kB / 5.1 GB, free: 151.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006717/12.88, allocations: 0.7521 MB / 5.101 GB, free: 150.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/12.89, allocations: 2.835 MB / 5.104 GB, free: 149.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/12.89, allocations: 56 kB / 5.104 GB, free: 149.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009426/12.89, allocations: 111 kB / 5.104 GB, free: 149.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004739/12.9, allocations: 1.634 MB / 5.106 GB, free: 148.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005809/12.9, allocations: 1.923 MB / 5.107 GB, free: 148.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/12.9, allocations: 3.938 kB / 5.107 GB, free: 148.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004048/12.9, allocations: 3.406 kB / 5.107 GB, free: 148.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/12.91, allocations: 76.45 kB / 5.108 GB, free: 148.1 MB / 1.182 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.01872/12.92, allocations: 9.095 MB / 5.116 GB, free: 142.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/12.93, allocations: 0.9825 MB / 5.117 GB, free: 141.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/12.93, allocations: 0.5706 MB / 5.118 GB, free: 141.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005911/12.93, allocations: 2.299 MB / 5.12 GB, free: 139.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/12.93, allocations: 48.45 kB / 5.12 GB, free: 139.8 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002365/12.93, allocations: 200.4 kB / 5.12 GB, free: 139.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=101): time 7.705e-06/12.93, allocations: 2.531 kB / 5.12 GB, free: 139.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=103): time 0.01025/12.95, allocations: 3.09 MB / 5.123 GB, free: 138.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/12.95, allocations: 60.53 kB / 5.124 GB, free: 138.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/12.95, allocations: 1.448 MB / 5.125 GB, free: 137.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/12.95, allocations: 25.7 kB / 5.125 GB, free: 137.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/12.95, allocations: 1.187 MB / 5.126 GB, free: 136.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/12.95, allocations: 354.5 kB / 5.126 GB, free: 136 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/12.95, allocations: 0 / 5.126 GB, free: 136 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001443/12.95, allocations: 356.4 kB / 5.127 GB, free: 135.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007587/12.95, allocations: 473.2 kB / 5.127 GB, free: 135.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/12.95, allocations: 1.01 MB / 5.128 GB, free: 134.5 MB / 1.182 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.01817/12.97, allocations: 3.215 MB / 5.131 GB, free: 133 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/12.97, allocations: 7.156 kB / 5.131 GB, free: 133 MB / 1.182 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005405/12.98, allocations: 1.834 MB / 5.133 GB, free: 132.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001537/12.98, allocations: 5.879 MB / 5.139 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/12.98, allocations: 11.91 kB / 5.139 GB, free: 125.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/12.98, allocations: 357.2 kB / 5.139 GB, free: 125.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/12.98, allocations: 308.1 kB / 5.14 GB, free: 125.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/12.98, allocations: 1.018 MB / 5.141 GB, free: 124.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/12.99, allocations: 147.5 kB / 5.141 GB, free: 124.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/12.99, allocations: 83.95 kB / 5.141 GB, free: 124.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/12.99, allocations: 7.953 kB / 5.141 GB, free: 124.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003872/12.99, allocations: 1.567 MB / 5.142 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-05/12.99, allocations: 16.53 kB / 5.142 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/12.99, allocations: 361 kB / 5.143 GB, free: 122.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/12.99, allocations: 303.5 kB / 5.143 GB, free: 122.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/12.99, allocations: 1.023 MB / 5.144 GB, free: 121.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/13, allocations: 123.6 kB / 5.144 GB, free: 121.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/13, allocations: 75.97 kB / 5.144 GB, free: 121 MB / 1.182 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005715/13, allocations: 157 kB / 5.144 GB, free: 120.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008688/13, allocations: 217.3 kB / 5.145 GB, free: 120.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/13, allocations: 1.487 MB / 5.146 GB, free: 119.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/13, allocations: 16 kB / 5.146 GB, free: 119.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/13, allocations: 3.953 kB / 5.146 GB, free: 119.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00248/13.01, allocations: 1.165 MB / 5.147 GB, free: 117.9 MB / 1.182 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.009406/13.01, allocations: 3.573 MB / 5.151 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/13.01, allocations: 4 kB / 5.151 GB, free: 114.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/13.02, allocations: 187.7 kB / 5.151 GB, free: 114.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/13.02, allocations: 314.1 kB / 5.151 GB, free: 113.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/13.02, allocations: 19.98 kB / 5.151 GB, free: 113.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009636/13.02, allocations: 0.9699 MB / 5.152 GB, free: 112.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/13.02, allocations: 8 kB / 5.152 GB, free: 112.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/13.02, allocations: 2.471 MB / 5.154 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/13.02, allocations: 422.2 kB / 5.155 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009656/13.02, allocations: 11.98 kB / 5.155 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/13.03, allocations: 83.83 kB / 5.155 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/13.03, allocations: 76.58 kB / 5.155 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/13.03, allocations: 47.98 kB / 5.155 GB, free: 109.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002704/13.03, allocations: 1.077 MB / 5.156 GB, free: 108.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.9e-07/13.03, allocations: 0 / 5.156 GB, free: 108.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006659/13.04, allocations: 1.253 MB / 5.157 GB, free: 107 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U) * 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007723/13.04, allocations: 3.885 MB / 5.161 GB, free: 103.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005111/13.05, allocations: 2.003 MB / 5.163 GB, free: 101.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/13.05, allocations: 4.062 kB / 5.163 GB, free: 101.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/13.05, allocations: 0.5208 MB / 5.164 GB, free: 100.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006598/13.06, allocations: 1.104 MB / 5.165 GB, free: 99.61 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/13.07, allocations: 3.907 MB / 5.169 GB, free: 95.64 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/13.07, allocations: 1.728 MB / 5.17 GB, free: 93.88 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003983/13.08, allocations: 0.7412 MB / 5.171 GB, free: 93.17 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/13.08, allocations: 127.4 kB / 5.171 GB, free: 93.05 MB / 1.182 GB Notification: Performance of SimCode: time 9.91e-07/13.08, allocations: 0 / 5.171 GB, free: 93.05 MB / 1.182 GB Notification: Performance of Templates: time 0.09314/13.17, allocations: 61.5 MB / 5.231 GB, free: 32.63 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches