Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 489.7 MB / 0.7761 GB, free: 33.66 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.16 kB / 1.127 GB, free: 36.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08091/0.416, allocations: 77.85 MB / 1.371 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02753/0.4435, allocations: 18.93 MB / 1.389 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/0.4472, allocations: 107.4 kB / 1.389 GB, free: 10.51 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003619/0.4508, allocations: 1.3 MB / 1.391 GB, free: 9.203 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.4613, allocations: 3.818 MB / 1.394 GB, free: 5.371 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.4669, allocations: 2.127 MB / 1.397 GB, free: 3.258 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009608/0.4765, allocations: 6.724 MB / 1.403 GB, free: 12.52 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.4794, allocations: 1.704 MB / 1.405 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.4856, allocations: 2.684 MB / 1.407 GB, free: 8.082 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.4889, allocations: 1.816 MB / 1.409 GB, free: 6.258 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005124/0.4894, allocations: 200 kB / 1.409 GB, free: 6.062 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.4937, allocations: 1.657 MB / 1.411 GB, free: 4.402 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007169/0.4945, allocations: 0.5718 MB / 1.412 GB, free: 3.828 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.4963, allocations: 1.252 MB / 1.413 GB, free: 2.57 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.5029, allocations: 3.753 MB / 1.416 GB, free: 14.8 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5029, allocations: 0 / 1.416 GB, free: 14.8 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5029, allocations: 0 / 1.416 GB, free: 14.8 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.292e-05/0.503, allocations: 0 / 1.416 GB, free: 14.8 MB / 1.123 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.004744/0.5077, allocations: 2.782 MB / 1.419 GB, free: 11.95 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5078, allocations: 8.031 kB / 1.419 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/0.5085, allocations: 283.3 kB / 1.419 GB, free: 11.67 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.5119, allocations: 2.04 MB / 1.421 GB, free: 9.578 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.512, allocations: 106.7 kB / 1.422 GB, free: 9.473 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.5122, allocations: 144 kB / 1.422 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.5149, allocations: 1.52 MB / 1.423 GB, free: 7.734 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.515, allocations: 7.984 kB / 1.423 GB, free: 7.727 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.5151, allocations: 60 kB / 1.423 GB, free: 7.668 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.244e-05/0.5152, allocations: 40 kB / 1.423 GB, free: 7.629 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.5174, allocations: 1.13 MB / 1.424 GB, free: 6.492 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009207/0.5266, allocations: 7.933 MB / 1.432 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.5276, allocations: 436.6 kB / 1.433 GB, free: 13.47 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.5282, allocations: 310.3 kB / 1.433 GB, free: 13.17 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000935/0.5291, allocations: 1.148 MB / 1.434 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.5292, allocations: 47.09 kB / 1.434 GB, free: 11.71 MB / 1.139 GB Notification: Performance of pre-optimization done (n=59): time 2.865e-06/0.5292, allocations: 4 kB / 1.434 GB, free: 11.7 MB / 1.139 GB Notification: Performance of matching and sorting (n=59): time 0.002268/0.5314, allocations: 0.974 MB / 1.435 GB, free: 10.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.5315, allocations: 55.97 kB / 1.435 GB, free: 10.65 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.5339, allocations: 1.787 MB / 1.437 GB, free: 8.828 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/0.5339, allocations: 41.64 kB / 1.437 GB, free: 8.781 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000847/0.5348, allocations: 0.9528 MB / 1.438 GB, free: 7.82 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.535, allocations: 226.1 kB / 1.438 GB, free: 7.598 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.5353, allocations: 230.8 kB / 1.438 GB, free: 7.367 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5355, allocations: 353.9 kB / 1.438 GB, free: 7.016 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/0.5362, allocations: 330.4 kB / 1.439 GB, free: 6.691 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.5372, allocations: 0.686 MB / 1.439 GB, free: 5.852 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.5389, allocations: 1.008 MB / 1.44 GB, free: 4.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.5389, allocations: 4 kB / 1.44 GB, free: 4.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002397/0.5413, allocations: 1.231 MB / 1.442 GB, free: 3.469 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5413, allocations: 8 kB / 1.442 GB, free: 3.461 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.5413, allocations: 12 kB / 1.442 GB, free: 3.449 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.5414, allocations: 16 kB / 1.442 GB, free: 3.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/0.5424, allocations: 291.5 kB / 1.442 GB, free: 3.148 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/0.5424, allocations: 23.92 kB / 1.442 GB, free: 3.125 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.5435, allocations: 166.9 kB / 1.442 GB, free: 2.961 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.5436, allocations: 51.98 kB / 1.442 GB, free: 2.91 MB / 1.139 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007535/0.5443, allocations: 441.4 kB / 1.443 GB, free: 2.469 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.5447, allocations: 202.7 kB / 1.443 GB, free: 2.27 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.5465, allocations: 0.8677 MB / 1.444 GB, free: 1.395 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.5465, allocations: 4 kB / 1.444 GB, free: 1.391 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5465, allocations: 0 / 1.444 GB, free: 1.391 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.5478, allocations: 0.7957 MB / 1.444 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.5519, allocations: 2.451 MB / 1.447 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.552, allocations: 7.938 kB / 1.447 GB, free: 13.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.5527, allocations: 180 kB / 1.447 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.5527, allocations: 8 kB / 1.447 GB, free: 13.81 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.5528, allocations: 12 kB / 1.447 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.5528, allocations: 7.984 kB / 1.447 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5528, allocations: 7.938 kB / 1.447 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.5552, allocations: 1.345 MB / 1.448 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.5559, allocations: 383.4 kB / 1.449 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.5561, allocations: 15.98 kB / 1.449 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.557, allocations: 63.86 kB / 1.449 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5571, allocations: 48.5 kB / 1.449 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.5572, allocations: 39.97 kB / 1.449 GB, free: 11.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001822/0.559, allocations: 1.235 MB / 1.45 GB, free: 10.59 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/0.559, allocations: 8 kB / 1.45 GB, free: 10.58 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001833/0.5609, allocations: 0.6587 MB / 1.451 GB, free: 9.918 MB / 1.154 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/0.562, allocations: 0.6157 MB / 1.451 GB, free: 9.309 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.5638, allocations: 0.7843 MB / 1.452 GB, free: 8.523 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5638, allocations: 0 / 1.452 GB, free: 8.523 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.5645, allocations: 336.4 kB / 1.452 GB, free: 8.195 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/0.569, allocations: 1.206 MB / 1.454 GB, free: 7.016 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.5739, allocations: 3.136 MB / 1.457 GB, free: 3.809 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.5749, allocations: 1.395 MB / 1.458 GB, free: 2.383 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.5752, allocations: 159.4 kB / 1.458 GB, free: 2.227 MB / 1.154 GB Notification: Performance of SimCode: time 7.92e-07/0.5752, allocations: 0 / 1.458 GB, free: 2.227 MB / 1.154 GB Notification: Performance of Templates: time 0.05512/0.6304, allocations: 35.24 MB / 1.493 GB, free: 15.28 MB / 1.201 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches