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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 181.5 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.941/2.941, allocations: 0.4893 GB / 0.7884 GB, free: 32.99 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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.001847/0.001847, allocations: 67.22 kB / 1.145 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3377, allocations: 174.9 MB / 1.316 GB, free: 9.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08007/0.4178, allocations: 78.59 MB / 1.393 GB, free: 10.98 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.4462, allocations: 18.99 MB / 1.411 GB, free: 7.957 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003685/0.4499, allocations: 150.7 kB / 1.411 GB, free: 7.809 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.4539, allocations: 1.3 MB / 1.413 GB, free: 6.5 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.4652, allocations: 3.895 MB / 1.417 GB, free: 2.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.4721, allocations: 2.183 MB / 1.419 GB, free: 432 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.4829, allocations: 6.847 MB / 1.425 GB, free: 9.555 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.486, allocations: 1.595 MB / 1.427 GB, free: 7.91 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/0.4926, allocations: 2.712 MB / 1.43 GB, free: 5.203 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.4963, allocations: 1.838 MB / 1.431 GB, free: 3.359 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.4968, allocations: 200 kB / 1.432 GB, free: 3.164 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.5012, allocations: 1.684 MB / 1.433 GB, free: 1.477 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.502, allocations: 0.564 MB / 1.434 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.504, allocations: 1.256 MB / 1.435 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006735/0.5107, allocations: 3.753 MB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.5107, allocations: 3.984 kB / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5107, allocations: 0 / 1.439 GB, free: 11.88 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.777e-05/0.5108, allocations: 0 / 1.439 GB, free: 11.88 MB / 1.139 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.004895/0.5157, allocations: 2.711 MB / 1.441 GB, free: 9.117 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5157, allocations: 8.031 kB / 1.441 GB, free: 9.109 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000718/0.5164, allocations: 283.3 kB / 1.442 GB, free: 8.832 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.5202, allocations: 1.957 MB / 1.443 GB, free: 6.832 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.5203, allocations: 106.7 kB / 1.444 GB, free: 6.727 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5205, allocations: 140 kB / 1.444 GB, free: 6.59 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.5232, allocations: 1.528 MB / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.5232, allocations: 0 / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.5233, allocations: 60 kB / 1.445 GB, free: 4.926 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/0.5234, allocations: 36 kB / 1.445 GB, free: 4.891 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.5255, allocations: 1.13 MB / 1.446 GB, free: 3.754 MB / 1.139 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.009332/0.5348, allocations: 7.846 MB / 1.454 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.5358, allocations: 444.3 kB / 1.454 GB, free: 10.81 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006045/0.5364, allocations: 306.1 kB / 1.455 GB, free: 10.51 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/0.5368, allocations: 112.4 kB / 1.455 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.5369, allocations: 50.94 kB / 1.455 GB, free: 10.34 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.565e-06/0.5369, allocations: 0 / 1.455 GB, free: 10.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.0023/0.5392, allocations: 0.9722 MB / 1.456 GB, free: 9.359 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5392, allocations: 55.91 kB / 1.456 GB, free: 9.293 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.5416, allocations: 1.795 MB / 1.458 GB, free: 7.461 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.5417, allocations: 45.7 kB / 1.458 GB, free: 7.41 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000833/0.5425, allocations: 0.9412 MB / 1.459 GB, free: 6.461 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.5428, allocations: 230.1 kB / 1.459 GB, free: 6.234 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.5431, allocations: 226.8 kB / 1.459 GB, free: 6.008 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5432, allocations: 349.9 kB / 1.459 GB, free: 5.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.5439, allocations: 330.4 kB / 1.46 GB, free: 5.336 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.5449, allocations: 0.6938 MB / 1.46 GB, free: 4.488 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.5465, allocations: 1.009 MB / 1.461 GB, free: 3.348 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5465, allocations: 4 kB / 1.461 GB, free: 3.344 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002408/0.5489, allocations: 1.226 MB / 1.463 GB, free: 2.105 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.549, allocations: 15.98 kB / 1.463 GB, free: 2.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.549, allocations: 8 kB / 1.463 GB, free: 2.082 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.549, allocations: 16 kB / 1.463 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.55, allocations: 296.1 kB / 1.463 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.55, allocations: 23.92 kB / 1.463 GB, free: 1.754 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.5512, allocations: 162.9 kB / 1.463 GB, free: 1.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.5513, allocations: 55.98 kB / 1.463 GB, free: 1.539 MB / 1.154 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.000744/0.552, allocations: 446 kB / 1.464 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.5523, allocations: 202.7 kB / 1.464 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.5541, allocations: 0.8707 MB / 1.465 GB, free: 16 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.5541, allocations: 12 kB / 1.465 GB, free: 4 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5541, allocations: 0 / 1.465 GB, free: 4 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.5554, allocations: 0.8096 MB / 1.465 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/0.5595, allocations: 2.425 MB / 1.468 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5595, allocations: 7.938 kB / 1.468 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.5603, allocations: 180 kB / 1.468 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5603, allocations: 11.94 kB / 1.468 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.5603, allocations: 15.98 kB / 1.468 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.5603, allocations: 8 kB / 1.468 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5603, allocations: 3.938 kB / 1.468 GB, free: 12.42 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.5628, allocations: 1.363 MB / 1.469 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/0.5635, allocations: 298.4 kB / 1.47 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.5637, allocations: 12 kB / 1.47 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/0.5646, allocations: 71.81 kB / 1.47 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.5647, allocations: 52.41 kB / 1.47 GB, free: 10.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/0.5648, allocations: 35.97 kB / 1.47 GB, free: 10.55 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001759/0.5665, allocations: 1.243 MB / 1.471 GB, free: 9.293 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5665, allocations: 0 / 1.471 GB, free: 9.293 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001756/0.5683, allocations: 0.6626 MB / 1.472 GB, free: 8.629 MB / 1.17 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.001131/0.5694, allocations: 0.6086 MB / 1.472 GB, free: 8.027 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.5711, allocations: 0.7815 MB / 1.473 GB, free: 7.246 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5711, allocations: 4.125 kB / 1.473 GB, free: 7.242 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.5718, allocations: 338.5 kB / 1.473 GB, free: 6.914 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/0.5764, allocations: 1.197 MB / 1.474 GB, free: 5.734 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.5812, allocations: 3.125 MB / 1.478 GB, free: 2.543 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.5822, allocations: 1.405 MB / 1.479 GB, free: 1.105 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001416/0.5836, allocations: 388.7 kB / 1.479 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.584, allocations: 147.4 kB / 1.479 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of SimCode: time 9.82e-07/0.584, allocations: 0 / 1.479 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of Templates: time 0.06986/0.6538, allocations: 42.81 MB / 1.521 GB, free: 6.277 MB / 1.217 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.538133240304887]