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.001526/0.001526, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001563/0.001563, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.529/1.529, allocations: 230.5 MB / 252.8 MB, free: 9.133 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 3.309/3.309, allocations: 0.4899 GB / 0.7915 GB, free: 33.23 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.002076/0.002076, allocations: 77.97 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.369, allocations: 176.1 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09497/0.4639, allocations: 78.17 MB / 1.398 GB, free: 4.332 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03431/0.4982, allocations: 18.92 MB / 1.416 GB, free: 1.367 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/0.5026, allocations: 154.7 kB / 1.416 GB, free: 1.215 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.5073, allocations: 1.312 MB / 1.418 GB, free: 15.89 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.5209, allocations: 3.815 MB / 1.421 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007033/0.5279, allocations: 2.106 MB / 1.423 GB, free: 9.977 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01449/0.5424, allocations: 6.694 MB / 1.43 GB, free: 3.266 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004035/0.5464, allocations: 1.704 MB / 1.431 GB, free: 1.512 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007802/0.5542, allocations: 2.71 MB / 1.434 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004843/0.5591, allocations: 1.836 MB / 1.436 GB, free: 12.96 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007091/0.5598, allocations: 200 kB / 1.436 GB, free: 12.76 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005752/0.5655, allocations: 1.712 MB / 1.438 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.5666, allocations: 0.564 MB / 1.438 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002622/0.5692, allocations: 1.264 MB / 1.44 GB, free: 9.211 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009416/0.5786, allocations: 3.854 MB / 1.443 GB, free: 5.344 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.5786, allocations: 0 / 1.443 GB, free: 5.344 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5786, allocations: 0 / 1.443 GB, free: 5.344 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001219/0.5787, allocations: 0 / 1.443 GB, free: 5.344 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.006647/0.5854, allocations: 2.802 MB / 1.446 GB, free: 2.473 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.5854, allocations: 11.98 kB / 1.446 GB, free: 2.461 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.5864, allocations: 279.3 kB / 1.446 GB, free: 2.188 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004364/0.5908, allocations: 2.059 MB / 1.448 GB, free: 84 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5909, allocations: 110.7 kB / 1.448 GB, free: 15.97 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.5912, allocations: 140 kB / 1.449 GB, free: 15.83 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.5948, allocations: 1.516 MB / 1.45 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.5949, allocations: 7.938 kB / 1.45 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.595, allocations: 60 kB / 1.45 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/0.5951, allocations: 36 kB / 1.45 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.5978, allocations: 1.13 MB / 1.451 GB, free: 13 MB / 1.154 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.01283/0.6106, allocations: 7.937 MB / 1.459 GB, free: 4.414 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.6119, allocations: 446.3 kB / 1.459 GB, free: 3.973 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.6126, allocations: 310.9 kB / 1.46 GB, free: 3.668 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.6138, allocations: 1.152 MB / 1.461 GB, free: 2.254 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.6139, allocations: 47.06 kB / 1.461 GB, free: 2.199 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 3.306e-06/0.6139, allocations: 0 / 1.461 GB, free: 2.199 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.00294/0.6168, allocations: 0.974 MB / 1.462 GB, free: 1.219 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.6169, allocations: 55.97 kB / 1.462 GB, free: 1.152 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/0.62, allocations: 1.795 MB / 1.464 GB, free: 15.32 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.6202, allocations: 45.7 kB / 1.464 GB, free: 15.27 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.6212, allocations: 0.953 MB / 1.465 GB, free: 14.31 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.6215, allocations: 222.1 kB / 1.465 GB, free: 14.09 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.6219, allocations: 230.8 kB / 1.465 GB, free: 13.86 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.6221, allocations: 353.9 kB / 1.465 GB, free: 13.51 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007608/0.6228, allocations: 330.4 kB / 1.466 GB, free: 13.18 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.624, allocations: 0.686 MB / 1.466 GB, free: 12.35 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.6259, allocations: 1.008 MB / 1.467 GB, free: 11.2 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.6259, allocations: 4 kB / 1.467 GB, free: 11.2 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003027/0.629, allocations: 1.235 MB / 1.469 GB, free: 9.957 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.629, allocations: 8 kB / 1.469 GB, free: 9.949 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.629, allocations: 12 kB / 1.469 GB, free: 9.938 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/0.629, allocations: 16 kB / 1.469 GB, free: 9.922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6302, allocations: 283.6 kB / 1.469 GB, free: 9.645 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.079e-05/0.6302, allocations: 27.86 kB / 1.469 GB, free: 9.617 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.6317, allocations: 171 kB / 1.469 GB, free: 9.449 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.6318, allocations: 55.98 kB / 1.469 GB, free: 9.395 MB / 1.17 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.0008671/0.6327, allocations: 441.3 kB / 1.47 GB, free: 8.953 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/0.6331, allocations: 202.7 kB / 1.47 GB, free: 8.754 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.6351, allocations: 0.8651 MB / 1.471 GB, free: 7.883 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6352, allocations: 8 kB / 1.471 GB, free: 7.875 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6352, allocations: 4 kB / 1.471 GB, free: 7.871 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00153/0.6367, allocations: 0.7956 MB / 1.471 GB, free: 7.027 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/0.6416, allocations: 2.448 MB / 1.474 GB, free: 4.488 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.6416, allocations: 3.938 kB / 1.474 GB, free: 4.484 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.6425, allocations: 188 kB / 1.474 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.6425, allocations: 7.938 kB / 1.474 GB, free: 4.293 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.6425, allocations: 19.98 kB / 1.474 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.6425, allocations: 4 kB / 1.474 GB, free: 4.27 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.6425, allocations: 4 kB / 1.474 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.6456, allocations: 1.349 MB / 1.475 GB, free: 2.867 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/0.6464, allocations: 383.5 kB / 1.476 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6466, allocations: 12 kB / 1.476 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009978/0.6476, allocations: 59.92 kB / 1.476 GB, free: 2.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.6477, allocations: 52.44 kB / 1.476 GB, free: 2.352 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.6478, allocations: 39.97 kB / 1.476 GB, free: 2.312 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002106/0.6499, allocations: 1.244 MB / 1.477 GB, free: 1.051 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6499, allocations: 7.938 kB / 1.477 GB, free: 1.043 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002074/0.6519, allocations: 0.6743 MB / 1.478 GB, free: 376 kB / 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.001257/0.6532, allocations: 0.5805 MB / 1.478 GB, free: 15.78 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.6552, allocations: 0.7771 MB / 1.479 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.6552, allocations: 4.312 kB / 1.479 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.656, allocations: 330.9 kB / 1.479 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006186/0.6622, allocations: 1.205 MB / 1.481 GB, free: 13.5 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.6703, allocations: 3.132 MB / 1.484 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.6716, allocations: 1.409 MB / 1.485 GB, free: 8.859 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001804/0.6734, allocations: 385.3 kB / 1.485 GB, free: 8.488 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.6738, allocations: 151.3 kB / 1.485 GB, free: 8.34 MB / 1.186 GB Notification: Performance of SimCode: time 1.212e-06/0.6738, allocations: 0 / 1.485 GB, free: 8.34 MB / 1.186 GB Notification: Performance of Templates: time 0.07918/0.753, allocations: 42.26 MB / 1.527 GB, free: 14.61 MB / 1.232 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/jenkins/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: 10.905664894264191]