Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [: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 9.1.1-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 185.3 kB / 487 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7819 GB, free: 6.848 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 101.9 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.272e-05, allocations: 4 kB / 1.066 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.005, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/2.188, allocations: 425.4 MB / 1.621 GB, free: 181.2 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/2.188, allocations: 91.7 kB / 1.621 GB, free: 181.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.874/5.062, allocations: 0.8138 GB / 2.434 GB, free: 184.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003436/5.062, allocations: 56.17 kB / 2.434 GB, free: 184.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00579/5.068, allocations: 2.18 MB / 2.437 GB, free: 184 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/5.068, allocations: 7.906 kB / 2.437 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/5.07, allocations: 270.8 kB / 2.437 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06023/5.13, allocations: 24.81 MB / 2.461 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/5.13, allocations: 44.59 kB / 2.461 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/5.13, allocations: 84.72 kB / 2.461 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002455/5.133, allocations: 0.8824 MB / 2.462 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/5.136, allocations: 1.198 MB / 2.463 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/5.136, allocations: 3.281 kB / 2.463 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/5.136, allocations: 3.562 kB / 2.463 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/5.136, allocations: 46.84 kB / 2.463 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008802/5.145, allocations: 7.594 MB / 2.471 GB, free: 178.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/5.145, allocations: 350.4 kB / 2.471 GB, free: 178.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/5.146, allocations: 271.1 kB / 2.471 GB, free: 178.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/5.147, allocations: 1.163 MB / 2.472 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/5.147, allocations: 40.03 kB / 2.472 GB, free: 176.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.435e-06/5.147, allocations: 3.719 kB / 2.472 GB, free: 176.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001537/5.148, allocations: 0.6237 MB / 2.473 GB, free: 176.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/5.148, allocations: 57.97 kB / 2.473 GB, free: 176.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/5.15, allocations: 1.211 MB / 2.474 GB, free: 176.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/5.15, allocations: 25.7 kB / 2.474 GB, free: 176.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/5.151, allocations: 0.657 MB / 2.475 GB, free: 176.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/5.151, allocations: 209.6 kB / 2.475 GB, free: 176 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/5.151, allocations: 0.6562 kB / 2.475 GB, free: 176 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/5.151, allocations: 340.6 kB / 2.476 GB, free: 175.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/5.152, allocations: 218.4 kB / 2.476 GB, free: 175.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/5.152, allocations: 0.5828 MB / 2.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/5.153, allocations: 366.3 kB / 2.477 GB, free: 175.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/5.153, allocations: 3.344 kB / 2.477 GB, free: 175.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0018/5.155, allocations: 0.8966 MB / 2.478 GB, free: 175.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/5.155, allocations: 8.969 kB / 2.478 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/5.155, allocations: 9.75 kB / 2.478 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/5.155, allocations: 14.34 kB / 2.478 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/5.156, allocations: 233.1 kB / 2.478 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/5.156, allocations: 24.77 kB / 2.478 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/5.157, allocations: 174.2 kB / 2.478 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-05/5.157, allocations: 52.95 kB / 2.478 GB, free: 175.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001852/5.158, allocations: 137.2 kB / 2.478 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/5.158, allocations: 165.9 kB / 2.478 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/5.159, allocations: 0.7612 MB / 2.479 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/5.159, allocations: 10.56 kB / 2.479 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/5.16, allocations: 0 / 2.479 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009064/5.16, allocations: 0.6998 MB / 2.48 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/5.164, allocations: 2.171 MB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/5.164, allocations: 3.906 kB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007327/5.165, allocations: 191.4 kB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/5.165, allocations: 3.031 kB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/5.165, allocations: 15.31 kB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/5.165, allocations: 7.188 kB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/5.165, allocations: 11.12 kB / 2.482 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001595/5.166, allocations: 1.319 MB / 2.483 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/5.167, allocations: 368.7 kB / 2.484 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/5.167, allocations: 6.438 kB / 2.484 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/5.169, allocations: 116.9 kB / 2.484 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/5.169, allocations: 50.16 kB / 2.484 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/5.169, allocations: 38.62 kB / 2.484 GB, free: 173.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001032/5.17, allocations: 0.9004 MB / 2.485 GB, free: 173.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00213/5.172, allocations: 0.708 MB / 2.486 GB, free: 173.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/5.174, allocations: 0.9567 MB / 2.486 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008537/5.174, allocations: 0.6301 MB / 2.487 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/5.174, allocations: 0 / 2.487 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/5.175, allocations: 311.1 kB / 2.487 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/5.179, allocations: 0.9288 MB / 2.488 GB, free: 173.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/5.183, allocations: 2.333 MB / 2.491 GB, free: 172.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/5.185, allocations: 1.593 MB / 2.492 GB, free: 171.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/5.185, allocations: 0 / 2.492 GB, free: 171.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04956/5.234, allocations: 32.74 MB / 2.524 GB, free: 170.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches