Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.961/2.961, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 68.11 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0835/1.125, allocations: 78.18 MB / 1.398 GB, free: 1.027 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03526/1.16, allocations: 18.92 MB / 1.417 GB, free: 3.422 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006772/1.167, allocations: 157.2 kB / 1.417 GB, free: 3.336 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005583/1.172, allocations: 1.298 MB / 1.418 GB, free: 2.566 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/1.187, allocations: 3.825 MB / 1.422 GB, free: 308 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007474/1.194, allocations: 2.103 MB / 1.424 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01373/1.208, allocations: 6.698 MB / 1.431 GB, free: 11.87 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00413/1.212, allocations: 1.699 MB / 1.432 GB, free: 11 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009475/1.222, allocations: 2.712 MB / 1.435 GB, free: 9.723 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005717/1.228, allocations: 1.838 MB / 1.437 GB, free: 8.859 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001198/1.229, allocations: 199.2 kB / 1.437 GB, free: 8.859 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007666/1.236, allocations: 1.717 MB / 1.439 GB, free: 7.926 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/1.238, allocations: 0.5671 MB / 1.439 GB, free: 7.473 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003721/1.241, allocations: 1.259 MB / 1.44 GB, free: 6.645 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.252, allocations: 3.856 MB / 1.444 GB, free: 4.098 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/1.252, allocations: 0 / 1.444 GB, free: 4.098 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.304e-06/1.252, allocations: 1.438 kB / 1.444 GB, free: 4.098 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000114/1.253, allocations: 0 / 1.444 GB, free: 4.098 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.007746/1.26, allocations: 2.798 MB / 1.447 GB, free: 2.004 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.26, allocations: 13.55 kB / 1.447 GB, free: 2 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.261, allocations: 278.2 kB / 1.447 GB, free: 1.863 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/1.266, allocations: 2.056 MB / 1.449 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/1.266, allocations: 109.8 kB / 1.449 GB, free: 268 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.266, allocations: 139.7 kB / 1.449 GB, free: 224 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/1.269, allocations: 1.518 MB / 1.451 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/1.269, allocations: 6 kB / 1.451 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.269, allocations: 58.03 kB / 1.451 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/1.269, allocations: 40.47 kB / 1.451 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/1.272, allocations: 1.125 MB / 1.452 GB, free: 14.63 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.01083/1.283, allocations: 7.938 MB / 1.46 GB, free: 7.375 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.284, allocations: 451.8 kB / 1.46 GB, free: 7.148 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006662/1.284, allocations: 315.4 kB / 1.46 GB, free: 6.992 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.285, allocations: 1.143 MB / 1.462 GB, free: 5.645 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.286, allocations: 47.59 kB / 1.462 GB, free: 5.594 MB / 1.139 GB Notification: Performance of pre-optimization done (n=59): time 2.846e-06/1.286, allocations: 0 / 1.462 GB, free: 5.594 MB / 1.139 GB Notification: Performance of matching and sorting (n=59): time 0.002797/1.288, allocations: 0.9732 MB / 1.463 GB, free: 5.113 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.288, allocations: 61.47 kB / 1.463 GB, free: 5.047 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/1.291, allocations: 1.797 MB / 1.464 GB, free: 4.051 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.291, allocations: 43.92 kB / 1.464 GB, free: 4.008 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000913/1.292, allocations: 0.9518 MB / 1.465 GB, free: 3.164 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/1.292, allocations: 231.8 kB / 1.466 GB, free: 2.965 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/1.293, allocations: 221.5 kB / 1.466 GB, free: 2.836 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000214/1.293, allocations: 359.9 kB / 1.466 GB, free: 2.488 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/1.294, allocations: 333.1 kB / 1.466 GB, free: 2.328 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.295, allocations: 0.6862 MB / 1.467 GB, free: 1.711 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/1.297, allocations: 1.005 MB / 1.468 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.297, allocations: 3 kB / 1.468 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00283/1.3, allocations: 1.239 MB / 1.469 GB, free: 324 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.3, allocations: 11.69 kB / 1.469 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.3, allocations: 9 kB / 1.469 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/1.3, allocations: 16.09 kB / 1.469 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.301, allocations: 283.8 kB / 1.47 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/1.301, allocations: 19.91 kB / 1.47 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.302, allocations: 173.4 kB / 1.47 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/1.303, allocations: 52.7 kB / 1.47 GB, free: 116 kB / 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.0009312/1.303, allocations: 443.5 kB / 1.47 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/1.304, allocations: 202 kB / 1.47 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/1.306, allocations: 0.8652 MB / 1.471 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.306, allocations: 8 kB / 1.471 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.306, allocations: 4 kB / 1.471 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/1.307, allocations: 0.7995 MB / 1.472 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/1.312, allocations: 2.447 MB / 1.475 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.312, allocations: 7.938 kB / 1.475 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/1.313, allocations: 184 kB / 1.475 GB, free: 11.47 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.313, allocations: 7.938 kB / 1.475 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/1.313, allocations: 19.98 kB / 1.475 GB, free: 11.45 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/1.313, allocations: 4 kB / 1.475 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.313, allocations: 4 kB / 1.475 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/1.316, allocations: 1.345 MB / 1.476 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.317, allocations: 383.5 kB / 1.476 GB, free: 9.645 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/1.318, allocations: 12 kB / 1.476 GB, free: 9.633 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.319, allocations: 71.91 kB / 1.476 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.319, allocations: 48.44 kB / 1.477 GB, free: 9.516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/1.319, allocations: 35.97 kB / 1.477 GB, free: 9.48 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001987/1.321, allocations: 1.244 MB / 1.478 GB, free: 8.219 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.321, allocations: 4 kB / 1.478 GB, free: 8.215 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002364/1.323, allocations: 0.6743 MB / 1.478 GB, free: 7.539 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.001164/1.324, allocations: 0.5832 MB / 1.479 GB, free: 6.949 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001911/1.326, allocations: 0.7811 MB / 1.48 GB, free: 6.176 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.326, allocations: 256 / 1.48 GB, free: 6.176 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007698/1.327, allocations: 334.9 kB / 1.48 GB, free: 5.844 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00622/1.333, allocations: 1.205 MB / 1.481 GB, free: 4.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/1.339, allocations: 3.163 MB / 1.484 GB, free: 1.43 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.34, allocations: 1.392 MB / 1.486 GB, free: 4 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/1.341, allocations: 159.4 kB / 1.486 GB, free: 15.85 MB / 1.17 GB Notification: Performance of SimCode: time 1.222e-06/1.341, allocations: 4 kB / 1.486 GB, free: 15.84 MB / 1.17 GB Notification: Performance of Templates: time 0.05818/1.399, allocations: 35.27 MB / 1.52 GB, free: 12.87 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.18250011598866]