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.499/1.499, allocations: 249.5 MB / 257 MB, free: 7.004 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.001256/0.001256, allocations: 186 kB / 316.3 MB, free: 3.301 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.786/1.786, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0009628/0.0009627, allocations: 100.2 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.645e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2393, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.226/7.465, allocations: 2.459 GB / 3.344 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/7.466, allocations: 98 kB / 3.344 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.222/11.69, allocations: 1.071 GB / 4.416 GB, free: 122 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.973e-06/11.69, allocations: 0 / 4.416 GB, free: 122 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001559/11.69, allocations: 57.16 kB / 4.416 GB, free: 122 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.004927/11.69, allocations: 2.102 MB / 4.418 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/11.69, allocations: 14.36 kB / 4.418 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/11.69, allocations: 373.5 kB / 4.418 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/11.7, allocations: 1.644 MB / 4.42 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/11.7, allocations: 47.78 kB / 4.42 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/11.7, allocations: 84 kB / 4.42 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001611/11.7, allocations: 0.9389 MB / 4.421 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/11.7, allocations: 1.222 MB / 4.422 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/11.7, allocations: 0 / 4.422 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/11.7, allocations: 1.406 kB / 4.422 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/11.7, allocations: 52.19 kB / 4.422 GB, free: 118.8 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.007657/11.71, allocations: 6.896 MB / 4.429 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/11.71, allocations: 0.7962 MB / 4.43 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/11.71, allocations: 378.9 kB / 4.43 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/11.71, allocations: 0.7149 MB / 4.431 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/11.71, allocations: 45.31 kB / 4.431 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 4.97e-06/11.71, allocations: 0 / 4.431 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.003174/11.72, allocations: 1.155 MB / 4.432 GB, free: 112 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/11.72, allocations: 58 kB / 4.432 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/11.72, allocations: 0.9366 MB / 4.433 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/11.72, allocations: 29.58 kB / 4.433 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/11.72, allocations: 0.8028 MB / 4.434 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/11.72, allocations: 252.6 kB / 4.434 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/11.72, allocations: 1.656 kB / 4.434 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/11.72, allocations: 339.8 kB / 4.434 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/11.72, allocations: 257.3 kB / 4.435 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/11.72, allocations: 0.5482 MB / 4.435 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/11.72, allocations: 440.1 kB / 4.436 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/11.72, allocations: 0 / 4.436 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002726/11.72, allocations: 1.236 MB / 4.437 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005274/11.72, allocations: 1.959 MB / 4.439 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/11.72, allocations: 5.125 kB / 4.439 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/11.72, allocations: 367.7 kB / 4.439 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/11.72, allocations: 152.1 kB / 4.439 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/11.73, allocations: 2.12 MB / 4.441 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/11.73, allocations: 139.3 kB / 4.441 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/11.73, allocations: 40.02 kB / 4.441 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/11.73, allocations: 7.156 kB / 4.441 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00236/11.73, allocations: 1.022 MB / 4.442 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/11.73, allocations: 13.91 kB / 4.442 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/11.73, allocations: 372.1 kB / 4.443 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/11.73, allocations: 146.9 kB / 4.443 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/11.74, allocations: 3.786 MB / 4.447 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/11.74, allocations: 138.9 kB / 4.447 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.025e-05/11.74, allocations: 34.06 kB / 4.447 GB, free: 101.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003748/11.74, allocations: 127.3 kB / 4.447 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/11.74, allocations: 145.5 kB / 4.447 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/11.74, allocations: 1.199 MB / 4.448 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/11.74, allocations: 11.56 kB / 4.448 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/11.74, allocations: 10.64 kB / 4.448 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/11.74, allocations: 1.312 MB / 4.449 GB, free: 99.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/11.75, allocations: 2.494 MB / 4.452 GB, free: 98.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/11.75, allocations: 6.156 kB / 4.452 GB, free: 98.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/11.75, allocations: 102.2 kB / 4.452 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/11.75, allocations: 357.4 kB / 4.452 GB, free: 97.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/11.75, allocations: 5.906 kB / 4.452 GB, free: 97.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/11.75, allocations: 2.111 MB / 4.454 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/11.75, allocations: 3.938 kB / 4.454 GB, free: 96.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/11.76, allocations: 1.311 MB / 4.456 GB, free: 95.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/11.76, allocations: 334.5 kB / 4.456 GB, free: 94.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/11.76, allocations: 11.17 kB / 4.456 GB, free: 94.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/11.76, allocations: 108 kB / 4.456 GB, free: 94.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/11.76, allocations: 51.08 kB / 4.456 GB, free: 94.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/11.76, allocations: 28.42 kB / 4.456 GB, free: 94.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001149/11.76, allocations: 0.7121 MB / 4.457 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/11.76, allocations: 0 / 4.457 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003718/11.76, allocations: 1.046 MB / 4.458 GB, free: 94.14 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 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004253/11.77, allocations: 2.531 MB / 4.46 GB, free: 92.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002785/11.77, allocations: 1.455 MB / 4.462 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/11.77, allocations: 0 / 4.462 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/11.77, allocations: 419.5 kB / 4.462 GB, free: 90.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/11.77, allocations: 0.7156 MB / 4.463 GB, free: 89.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/11.78, allocations: 1.928 MB / 4.465 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/11.78, allocations: 1.39 MB / 4.466 GB, free: 86.56 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002422/11.78, allocations: 411.2 kB / 4.467 GB, free: 86.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/11.78, allocations: 71.42 kB / 4.467 GB, free: 86.11 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/11.78, allocations: 0 / 4.467 GB, free: 86.11 MB / 0.8855 GB Notification: Performance of Templates: time 0.068/11.85, allocations: 41.81 MB / 4.507 GB, free: 45.09 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