Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.port_a1.m_flow|hex.port_a2.m_flow|netEne.y|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 249.3 MB / 261.8 MB, free: 5.785 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.001269/0.001269, allocations: 180.9 kB / 321.3 MB, free: 14.66 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.723/1.723, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.0009057/0.0009056, allocations: 90.48 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.012e-05, allocations: 8 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2424, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.036/7.279, allocations: 2.459 GB / 3.351 GB, free: 254 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/7.279, allocations: 91.95 kB / 3.351 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.429/11.71, allocations: 1.081 GB / 4.432 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/11.71, allocations: 7.094 kB / 4.432 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003154/11.71, allocations: 51.55 kB / 4.432 GB, free: 119.1 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.007336/11.72, allocations: 2.102 MB / 4.434 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/11.72, allocations: 9.875 kB / 4.434 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/11.72, allocations: 368.9 kB / 4.435 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005307/11.72, allocations: 1.646 MB / 4.436 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/11.72, allocations: 112 kB / 4.436 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005405/11.72, allocations: 140.4 kB / 4.436 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/11.73, allocations: 1.417 MB / 4.438 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/11.73, allocations: 1.031 kB / 4.438 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/11.73, allocations: 56.56 kB / 4.438 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/11.73, allocations: 62.09 kB / 4.438 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/11.73, allocations: 1.036 MB / 4.439 GB, free: 117.2 MB / 0.8855 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.01115/11.74, allocations: 7.156 MB / 4.446 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/11.74, allocations: 0.8262 MB / 4.447 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/11.74, allocations: 399.1 kB / 4.447 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/11.75, allocations: 0.717 MB / 4.448 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/11.75, allocations: 49.31 kB / 4.448 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 3.336e-06/11.75, allocations: 0 / 4.448 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.00319/11.75, allocations: 1.122 MB / 4.449 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/11.75, allocations: 58.38 kB / 4.449 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/11.75, allocations: 1.133 MB / 4.45 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/11.75, allocations: 44.52 kB / 4.45 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/11.75, allocations: 0.8027 MB / 4.451 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/11.75, allocations: 257.9 kB / 4.451 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/11.75, allocations: 15.59 kB / 4.451 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/11.75, allocations: 347.3 kB / 4.452 GB, free: 109 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/11.75, allocations: 272 kB / 4.452 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/11.75, allocations: 0.5621 MB / 4.452 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/11.75, allocations: 367.8 kB / 4.453 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/11.75, allocations: 0 / 4.453 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00285/11.76, allocations: 1.232 MB / 4.454 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005397/11.76, allocations: 1.806 MB / 4.456 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/11.76, allocations: 3.938 kB / 4.456 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/11.76, allocations: 394.5 kB / 4.456 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/11.76, allocations: 143.7 kB / 4.456 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/11.76, allocations: 2.08 MB / 4.458 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/11.76, allocations: 180.6 kB / 4.458 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/11.76, allocations: 40.84 kB / 4.458 GB, free: 104 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/11.76, allocations: 5.5 kB / 4.458 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002897/11.77, allocations: 1.058 MB / 4.459 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/11.77, allocations: 3.406 kB / 4.459 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/11.77, allocations: 386.6 kB / 4.46 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/11.77, allocations: 145.2 kB / 4.46 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/11.77, allocations: 3.869 MB / 4.464 GB, free: 99.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/11.78, allocations: 171.1 kB / 4.464 GB, free: 99.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/11.78, allocations: 38.58 kB / 4.464 GB, free: 99.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003542/11.78, allocations: 160.1 kB / 4.464 GB, free: 99.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006176/11.78, allocations: 157.6 kB / 4.464 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/11.78, allocations: 1.211 MB / 4.465 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/11.78, allocations: 16.61 kB / 4.465 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/11.78, allocations: 0 / 4.465 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/11.78, allocations: 1.301 MB / 4.467 GB, free: 98.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/11.79, allocations: 2.668 MB / 4.469 GB, free: 97.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/11.79, allocations: 3.688 kB / 4.469 GB, free: 97.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/11.79, allocations: 104.7 kB / 4.469 GB, free: 97.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/11.79, allocations: 385.8 kB / 4.47 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/11.79, allocations: 18.91 kB / 4.47 GB, free: 96.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/11.79, allocations: 2.064 MB / 4.472 GB, free: 95.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/11.79, allocations: 11.73 kB / 4.472 GB, free: 95.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/11.79, allocations: 1.324 MB / 4.473 GB, free: 94.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/11.79, allocations: 346.9 kB / 4.473 GB, free: 94.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/11.8, allocations: 23.16 kB / 4.473 GB, free: 94.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/11.8, allocations: 123.4 kB / 4.474 GB, free: 94.08 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/11.8, allocations: 58.67 kB / 4.474 GB, free: 94.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/11.8, allocations: 29.72 kB / 4.474 GB, free: 94.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001845/11.8, allocations: 0.8768 MB / 4.475 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/11.8, allocations: 0 / 4.475 GB, free: 93.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004791/11.8, allocations: 1.109 MB / 4.476 GB, free: 93.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004105/11.81, allocations: 2.303 MB / 4.478 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003252/11.81, allocations: 1.546 MB / 4.479 GB, free: 91.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/11.81, allocations: 384 / 4.479 GB, free: 91.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/11.81, allocations: 464.4 kB / 4.48 GB, free: 91.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/11.82, allocations: 0.795 MB / 4.481 GB, free: 91.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/11.82, allocations: 1.999 MB / 4.483 GB, free: 90.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/11.82, allocations: 1.39 MB / 4.484 GB, free: 89.65 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00254/11.83, allocations: 441.5 kB / 4.484 GB, free: 89.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/11.83, allocations: 75.19 kB / 4.484 GB, free: 89.43 MB / 0.8855 GB Notification: Performance of SimCode: time 1.513e-06/11.83, allocations: 0 / 4.484 GB, free: 89.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.08534/11.91, allocations: 62.54 MB / 4.545 GB, free: 28.45 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches