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.34/2.34, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001077/0.001077, allocations: 177.1 kB / 498.1 MB, free: 5.746 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.672/1.672, allocations: 223.2 MB / 0.7948 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009418, allocations: 104.7 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004745, allocations: 12.34 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3675, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.78/6.147, allocations: 2.211 GB / 3.434 GB, free: 241.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/6.148, allocations: 110.3 kB / 3.434 GB, free: 241 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.565/12.71, allocations: 1.7 GB / 5.134 GB, free: 157.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.635e-06/12.71, allocations: 1.75 kB / 5.134 GB, free: 157.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005214/12.71, allocations: 80.64 kB / 5.134 GB, free: 157.8 MB / 1.198 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.01527/12.73, allocations: 3.456 MB / 5.137 GB, free: 156.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/12.73, allocations: 10.58 kB / 5.137 GB, free: 156.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/12.74, allocations: 0.761 MB / 5.138 GB, free: 156.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009648/12.75, allocations: 2.856 MB / 5.141 GB, free: 156 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/12.75, allocations: 140.4 kB / 5.141 GB, free: 156 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/12.75, allocations: 185.9 kB / 5.141 GB, free: 156 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/12.75, allocations: 2.235 MB / 5.143 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/12.75, allocations: 3.906 kB / 5.143 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/12.75, allocations: 79.55 kB / 5.143 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-05/12.75, allocations: 74.5 kB / 5.143 GB, free: 155.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/12.75, allocations: 1.919 MB / 5.145 GB, free: 155.8 MB / 1.198 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.0141/12.77, allocations: 9.195 MB / 5.154 GB, free: 151.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/12.77, allocations: 1.022 MB / 5.155 GB, free: 151.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004337/12.77, allocations: 2.314 MB / 5.157 GB, free: 150.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/12.77, allocations: 49.12 kB / 5.157 GB, free: 150.8 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001387/12.78, allocations: 176.7 kB / 5.158 GB, free: 150.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=101): time 3.527e-06/12.78, allocations: 0 / 5.158 GB, free: 150.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=103): time 0.01103/12.79, allocations: 4.004 MB / 5.162 GB, free: 149.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/12.79, allocations: 64.16 kB / 5.162 GB, free: 149.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/12.79, allocations: 1.793 MB / 5.163 GB, free: 149.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/12.79, allocations: 57.33 kB / 5.163 GB, free: 149.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/12.79, allocations: 1.188 MB / 5.165 GB, free: 149.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/12.79, allocations: 364.9 kB / 5.165 GB, free: 148.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/12.79, allocations: 24.25 kB / 5.165 GB, free: 148.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/12.79, allocations: 357.8 kB / 5.165 GB, free: 148.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/12.79, allocations: 490.5 kB / 5.166 GB, free: 148.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/12.79, allocations: 1.046 MB / 5.167 GB, free: 147.9 MB / 1.198 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.009527/12.8, allocations: 2.186 MB / 5.169 GB, free: 147.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/12.8, allocations: 7.641 kB / 5.169 GB, free: 147.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003671/12.81, allocations: 1.813 MB / 5.171 GB, free: 147.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001468/12.81, allocations: 5.971 MB / 5.176 GB, free: 141.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/12.81, allocations: 18.41 kB / 5.177 GB, free: 141.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/12.81, allocations: 336.8 kB / 5.177 GB, free: 141.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/12.81, allocations: 295.5 kB / 5.177 GB, free: 141.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008942/12.81, allocations: 0.9757 MB / 5.178 GB, free: 140.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/12.81, allocations: 182.6 kB / 5.178 GB, free: 140.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/12.81, allocations: 80.27 kB / 5.178 GB, free: 140.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/12.81, allocations: 2.375 kB / 5.178 GB, free: 140.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002484/12.82, allocations: 1.578 MB / 5.18 GB, free: 140.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/12.82, allocations: 16.56 kB / 5.18 GB, free: 140.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/12.82, allocations: 335.2 kB / 5.18 GB, free: 140.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/12.82, allocations: 297.6 kB / 5.18 GB, free: 140.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/12.82, allocations: 0.9841 MB / 5.181 GB, free: 140.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/12.82, allocations: 154 kB / 5.182 GB, free: 140.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/12.82, allocations: 78.34 kB / 5.182 GB, free: 140.1 MB / 1.198 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.001882/12.82, allocations: 0.6538 MB / 5.182 GB, free: 139.9 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007143/12.83, allocations: 237.7 kB / 5.183 GB, free: 139.8 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/12.83, allocations: 1.447 MB / 5.184 GB, free: 139.7 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/12.83, allocations: 15.91 kB / 5.184 GB, free: 139.7 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/12.83, allocations: 0 / 5.184 GB, free: 139.7 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/12.83, allocations: 1.11 MB / 5.185 GB, free: 139.6 MB / 1.198 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.009228/12.84, allocations: 3.896 MB / 5.189 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/12.84, allocations: 10.77 kB / 5.189 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/12.84, allocations: 177.9 kB / 5.189 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/12.84, allocations: 308.1 kB / 5.189 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/12.84, allocations: 36.66 kB / 5.189 GB, free: 138.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009842/12.84, allocations: 0.9409 MB / 5.19 GB, free: 138.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-06/12.84, allocations: 9.125 kB / 5.19 GB, free: 138.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/12.85, allocations: 2.64 MB / 5.193 GB, free: 137.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/12.85, allocations: 442.3 kB / 5.193 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/12.85, allocations: 28.61 kB / 5.193 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/12.85, allocations: 107.7 kB / 5.193 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/12.85, allocations: 80.41 kB / 5.193 GB, free: 137.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.553e-05/12.85, allocations: 44.45 kB / 5.194 GB, free: 137.1 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002102/12.85, allocations: 1.39 MB / 5.195 GB, free: 136.9 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.2e-07/12.85, allocations: 0 / 5.195 GB, free: 136.9 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005325/12.86, allocations: 1.401 MB / 5.196 GB, free: 136.9 MB / 1.198 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 () * 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.005728/12.86, allocations: 3.733 MB / 5.2 GB, free: 135.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004427/12.87, allocations: 2.09 MB / 5.202 GB, free: 135.3 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/12.87, allocations: 3.656 kB / 5.202 GB, free: 135.3 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/12.87, allocations: 0.575 MB / 5.203 GB, free: 135.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006491/12.88, allocations: 1.292 MB / 5.204 GB, free: 135.2 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009746/12.89, allocations: 5.691 MB / 5.209 GB, free: 133 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/12.89, allocations: 1.732 MB / 5.211 GB, free: 132.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003058/12.89, allocations: 0.5799 MB / 5.212 GB, free: 132.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/12.89, allocations: 169.4 kB / 5.212 GB, free: 132.2 MB / 1.198 GB Notification: Performance of SimCode: time 6.52e-07/12.89, allocations: 2.188 kB / 5.212 GB, free: 132.2 MB / 1.198 GB Notification: Performance of Templates: time 0.1127/13, allocations: 80.48 MB / 5.29 GB, free: 128 MB / 1.198 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