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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.061/2.061, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001038/0.001038, allocations: 184 kB / 490.8 MB, free: 1.906 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.37/1.37, allocations: 221.3 MB / 0.7863 GB, free: 13.58 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.0009127/0.0009127, allocations: 96.66 kB / 0.9264 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.848e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2954, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/4.657, allocations: 2.183 GB / 3.395 GB, free: 128.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/4.657, allocations: 91.95 kB / 3.395 GB, free: 128.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.901/8.558, allocations: 1.13 GB / 4.524 GB, free: 193.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001511/8.558, allocations: 57.39 kB / 4.524 GB, free: 193.3 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.004288/8.562, allocations: 2.111 MB / 4.526 GB, free: 192.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/8.562, allocations: 12.8 kB / 4.526 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/8.564, allocations: 383.9 kB / 4.527 GB, free: 192.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/8.567, allocations: 1.672 MB / 4.528 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/8.567, allocations: 42.59 kB / 4.528 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/8.567, allocations: 82.06 kB / 4.529 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/8.569, allocations: 0.9477 MB / 4.529 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/8.571, allocations: 1.238 MB / 4.531 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/8.571, allocations: 0 / 4.531 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-05/8.571, allocations: 2.969 kB / 4.531 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/8.571, allocations: 54.36 kB / 4.531 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006993/8.578, allocations: 7.313 MB / 4.538 GB, free: 187.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/8.579, allocations: 0.7934 MB / 4.539 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/8.579, allocations: 391.5 kB / 4.539 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007132/8.58, allocations: 0.7267 MB / 4.54 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/8.58, allocations: 41.66 kB / 4.54 GB, free: 186.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 4.148e-06/8.58, allocations: 0 / 4.54 GB, free: 186.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.003177/8.583, allocations: 1.183 MB / 4.541 GB, free: 186.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/8.583, allocations: 63.75 kB / 4.541 GB, free: 186.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/8.585, allocations: 0.9339 MB / 4.542 GB, free: 186.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/8.585, allocations: 33.61 kB / 4.542 GB, free: 186.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/8.585, allocations: 0.573 MB / 4.542 GB, free: 186.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/8.585, allocations: 246.2 kB / 4.543 GB, free: 186 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/8.586, allocations: 0 / 4.543 GB, free: 186 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001089/8.586, allocations: 344.7 kB / 4.543 GB, free: 185.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/8.586, allocations: 275.4 kB / 4.543 GB, free: 185.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/8.587, allocations: 0.5439 MB / 4.544 GB, free: 185.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008027/8.587, allocations: 447.7 kB / 4.544 GB, free: 185.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/8.587, allocations: 0 / 4.544 GB, free: 185.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002895/8.59, allocations: 1.26 MB / 4.546 GB, free: 185.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/8.591, allocations: 1.961 MB / 4.547 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/8.591, allocations: 7.359 kB / 4.547 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/8.592, allocations: 375.4 kB / 4.548 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/8.593, allocations: 153.7 kB / 4.548 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/8.594, allocations: 2.147 MB / 4.55 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/8.596, allocations: 148.4 kB / 4.55 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/8.596, allocations: 38.84 kB / 4.55 GB, free: 181.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.098e-06/8.596, allocations: 6.531 kB / 4.55 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002392/8.598, allocations: 1.057 MB / 4.551 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/8.598, allocations: 6.812 kB / 4.551 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/8.6, allocations: 374.1 kB / 4.552 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/8.6, allocations: 153 kB / 4.552 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/8.603, allocations: 3.792 MB / 4.555 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/8.604, allocations: 142.8 kB / 4.556 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/8.604, allocations: 33.5 kB / 4.556 GB, free: 178.4 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.0002172/8.605, allocations: 126.4 kB / 4.556 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/8.605, allocations: 145.5 kB / 4.556 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/8.608, allocations: 1.243 MB / 4.557 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/8.608, allocations: 7.094 kB / 4.557 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/8.608, allocations: 3.75 kB / 4.557 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00224/8.61, allocations: 1.35 MB / 4.558 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/8.614, allocations: 2.544 MB / 4.561 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/8.614, allocations: 3.094 kB / 4.561 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/8.614, allocations: 105.1 kB / 4.561 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/8.616, allocations: 360.7 kB / 4.561 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/8.616, allocations: 10.11 kB / 4.561 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/8.617, allocations: 2.123 MB / 4.563 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/8.617, allocations: 2.281 kB / 4.563 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001848/8.619, allocations: 1.346 MB / 4.565 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007461/8.62, allocations: 331.4 kB / 4.565 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/8.62, allocations: 6.688 kB / 4.565 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/8.621, allocations: 108.3 kB / 4.565 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/8.621, allocations: 46.14 kB / 4.565 GB, free: 174.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/8.621, allocations: 38.84 kB / 4.565 GB, free: 174.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0009812/8.622, allocations: 0.7125 MB / 4.566 GB, free: 174.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00347/8.626, allocations: 1.047 MB / 4.567 GB, free: 174.6 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.004376/8.63, allocations: 2.534 MB / 4.569 GB, free: 173.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003225/8.633, allocations: 1.467 MB / 4.571 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/8.633, allocations: 2.812 kB / 4.571 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/8.634, allocations: 425 kB / 4.571 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/8.638, allocations: 0.7028 MB / 4.572 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/8.643, allocations: 1.995 MB / 4.574 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/8.644, allocations: 1.487 MB / 4.575 GB, free: 172.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/8.644, allocations: 0 / 4.575 GB, free: 172.2 MB / 1.167 GB Notification: Performance of Templates: time 0.07606/8.72, allocations: 44.39 MB / 4.619 GB, free: 169.9 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