Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 390.5 MB / 398 MB, free: 10.98 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.00129/0.00129, allocations: 187.6 kB / 491.2 MB, free: 1.613 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.717/1.717, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001041/0.001041, allocations: 102.9 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3134, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.261/6.574, allocations: 2.183 GB / 3.395 GB, free: 93.99 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/6.575, allocations: 98.81 kB / 3.395 GB, free: 93.94 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.933/11.51, allocations: 1.119 GB / 4.514 GB, free: 201.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/11.51, allocations: 0 / 4.514 GB, free: 201.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001988/11.51, allocations: 63.2 kB / 4.515 GB, free: 201.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006302/11.51, allocations: 2.094 MB / 4.517 GB, free: 200.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/11.51, allocations: 11.72 kB / 4.517 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/11.52, allocations: 369.2 kB / 4.517 GB, free: 200.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/11.52, allocations: 1.655 MB / 4.519 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/11.52, allocations: 46.06 kB / 4.519 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/11.52, allocations: 85.38 kB / 4.519 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/11.52, allocations: 0.9347 MB / 4.52 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/11.52, allocations: 1.215 MB / 4.521 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/11.52, allocations: 2.062 kB / 4.521 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/11.52, allocations: 5.25 kB / 4.521 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/11.52, allocations: 58.98 kB / 4.521 GB, free: 200.2 MB / 1.167 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.008243/11.53, allocations: 6.879 MB / 4.528 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/11.53, allocations: 0.8155 MB / 4.528 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/11.53, allocations: 383.7 kB / 4.529 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/11.54, allocations: 0.7156 MB / 4.529 GB, free: 195.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/11.54, allocations: 42.12 kB / 4.529 GB, free: 195.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 4.037e-06/11.54, allocations: 0 / 4.529 GB, free: 195.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.0031/11.54, allocations: 1.158 MB / 4.531 GB, free: 195.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/11.54, allocations: 61.28 kB / 4.531 GB, free: 195.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/11.54, allocations: 0.9327 MB / 4.532 GB, free: 195.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/11.54, allocations: 28.58 kB / 4.532 GB, free: 195.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/11.54, allocations: 0.8162 MB / 4.532 GB, free: 194.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/11.54, allocations: 245.1 kB / 4.533 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/11.54, allocations: 3.281 kB / 4.533 GB, free: 194.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/11.54, allocations: 341.6 kB / 4.533 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/11.54, allocations: 264.7 kB / 4.533 GB, free: 194.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/11.54, allocations: 0.5392 MB / 4.534 GB, free: 194 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/11.54, allocations: 434.6 kB / 4.534 GB, free: 193.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/11.54, allocations: 0 / 4.534 GB, free: 193.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002958/11.55, allocations: 1.237 MB / 4.535 GB, free: 193.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005447/11.55, allocations: 1.958 MB / 4.537 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/11.55, allocations: 10.78 kB / 4.537 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/11.55, allocations: 361.9 kB / 4.538 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/11.55, allocations: 152 kB / 4.538 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/11.55, allocations: 2.115 MB / 4.54 GB, free: 190.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/11.55, allocations: 143 kB / 4.54 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/11.55, allocations: 38.66 kB / 4.54 GB, free: 190.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/11.55, allocations: 3.5 kB / 4.54 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002409/11.55, allocations: 1.03 MB / 4.541 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/11.55, allocations: 3.938 kB / 4.541 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/11.56, allocations: 372.9 kB / 4.541 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/11.56, allocations: 148.5 kB / 4.542 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/11.56, allocations: 3.787 MB / 4.545 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/11.56, allocations: 148.8 kB / 4.545 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/11.56, allocations: 37.22 kB / 4.545 GB, free: 187 MB / 1.167 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.0002852/11.56, allocations: 126 kB / 4.546 GB, free: 186.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/11.56, allocations: 141.1 kB / 4.546 GB, free: 186.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/11.56, allocations: 1.202 MB / 4.547 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/11.56, allocations: 7.156 kB / 4.547 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/11.56, allocations: 7.562 kB / 4.547 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002215/11.57, allocations: 1.317 MB / 4.548 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/11.57, allocations: 2.507 MB / 4.551 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/11.57, allocations: 3.344 kB / 4.551 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/11.57, allocations: 109.2 kB / 4.551 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/11.57, allocations: 353.7 kB / 4.551 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/11.57, allocations: 11.22 kB / 4.551 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/11.57, allocations: 2.087 MB / 4.553 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/11.57, allocations: 3.469 kB / 4.553 GB, free: 184.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/11.58, allocations: 1.316 MB / 4.554 GB, free: 183.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/11.58, allocations: 334.1 kB / 4.555 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/11.58, allocations: 0 / 4.555 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/11.58, allocations: 110.1 kB / 4.555 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/11.58, allocations: 55.73 kB / 4.555 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/11.58, allocations: 29.12 kB / 4.555 GB, free: 183.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001043/11.58, allocations: 0.7127 MB / 4.556 GB, free: 183.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/11.58, allocations: 0 / 4.556 GB, free: 183.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00348/11.58, allocations: 1.042 MB / 4.557 GB, free: 183.1 MB / 1.167 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.003761/11.59, allocations: 2.539 MB / 4.559 GB, free: 182.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002607/11.59, allocations: 1.458 MB / 4.56 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/11.59, allocations: 0 / 4.56 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007127/11.59, allocations: 425.5 kB / 4.561 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/11.59, allocations: 0.7232 MB / 4.562 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/11.6, allocations: 1.927 MB / 4.563 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/11.6, allocations: 1.382 MB / 4.565 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002033/11.6, allocations: 411.5 kB / 4.565 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/11.6, allocations: 67.12 kB / 4.565 GB, free: 180.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.184e-06/11.6, allocations: 0 / 4.565 GB, free: 180.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06807/11.67, allocations: 41.64 MB / 4.606 GB, free: 177.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches