Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002646/0.002646, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 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.003169/0.003169, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.848/2.848, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.711e-05, allocations: 3.844 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.103/0.1031, allocations: 79.86 MB / 0.8644 GB, free: 12.75 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.03341/0.1365, allocations: 19.44 MB / 0.8834 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.1403, allocations: 154.7 kB / 0.8835 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.1442, allocations: 1.265 MB / 0.8847 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.1558, allocations: 3.975 MB / 0.8886 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.006367/0.1622, allocations: 2.206 MB / 0.8908 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01216/0.1744, allocations: 6.864 MB / 0.8975 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.1778, allocations: 1.678 MB / 0.8991 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009338/0.1871, allocations: 3.284 MB / 0.9023 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/0.1924, allocations: 1.624 MB / 0.9039 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007998/0.1932, allocations: 200 kB / 0.9041 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005969/0.1992, allocations: 1.36 MB / 0.9054 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.2005, allocations: 0.5912 MB / 0.906 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.2031, allocations: 0.8573 MB / 0.9068 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008674/0.2118, allocations: 3.813 MB / 0.9106 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.2118, allocations: 3.984 kB / 0.9106 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2118, allocations: 4 kB / 0.9106 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001446/0.212, allocations: 0 / 0.9106 GB, free: 13.29 MB / 0.8698 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.006665/0.2186, allocations: 3.013 MB / 0.9135 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2187, allocations: 8.031 kB / 0.9135 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.2197, allocations: 414.9 kB / 0.9139 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.2239, allocations: 2.026 MB / 0.9159 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.2241, allocations: 114.7 kB / 0.916 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.2243, allocations: 152 kB / 0.9162 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.2276, allocations: 1.881 MB / 0.918 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.2276, allocations: 11.98 kB / 0.918 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.2278, allocations: 52 kB / 0.9181 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/0.2278, allocations: 47.94 kB / 0.9181 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.2299, allocations: 0.9781 MB / 0.9191 GB, free: 4.312 MB / 0.8698 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.01177/0.2417, allocations: 7.74 MB / 0.9266 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.2427, allocations: 409.5 kB / 0.927 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.2432, allocations: 247.9 kB / 0.9272 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/0.2436, allocations: 108.4 kB / 0.9273 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.2437, allocations: 45.89 kB / 0.9274 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 2.375e-06/0.2437, allocations: 4 kB / 0.9274 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002027/0.2457, allocations: 0.785 MB / 0.9282 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.2458, allocations: 59.91 kB / 0.9282 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.2489, allocations: 1.957 MB / 0.9301 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.249, allocations: 45.7 kB / 0.9302 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.2502, allocations: 1.139 MB / 0.9313 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.2505, allocations: 246.1 kB / 0.9315 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.2509, allocations: 284.5 kB / 0.9318 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003584/0.2513, allocations: 0.559 MB / 0.9323 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.2519, allocations: 242.5 kB / 0.9326 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.2532, allocations: 1.069 MB / 0.9336 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.2549, allocations: 1.032 MB / 0.9346 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2549, allocations: 4 kB / 0.9346 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002273/0.2572, allocations: 1.101 MB / 0.9357 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.2572, allocations: 8 kB / 0.9357 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.2572, allocations: 12 kB / 0.9357 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/0.2573, allocations: 16.81 kB / 0.9357 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.2582, allocations: 267.5 kB / 0.936 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/0.2582, allocations: 27.86 kB / 0.936 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.2592, allocations: 115.2 kB / 0.9361 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/0.2596, allocations: 55.98 kB / 0.9362 GB, free: 1.871 MB / 0.8855 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.0008188/0.2604, allocations: 452.1 kB / 0.9366 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.2608, allocations: 202.8 kB / 0.9368 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.2624, allocations: 0.698 MB / 0.9375 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.2624, allocations: 8 kB / 0.9375 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2624, allocations: 0 / 0.9375 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/0.2636, allocations: 0.6418 MB / 0.9381 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/0.2682, allocations: 2.424 MB / 0.9405 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.2682, allocations: 4 kB / 0.9405 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.2689, allocations: 148.1 kB / 0.9406 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.2689, allocations: 4 kB / 0.9406 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.2689, allocations: 23.98 kB / 0.9407 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.2689, allocations: 4 kB / 0.9407 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.2689, allocations: 11.88 kB / 0.9407 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.2713, allocations: 1.167 MB / 0.9418 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/0.2721, allocations: 262.6 kB / 0.9421 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.2723, allocations: 12 kB / 0.9421 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/0.2731, allocations: 35.97 kB / 0.9421 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.2732, allocations: 60.34 kB / 0.9422 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/0.2733, allocations: 35.97 kB / 0.9422 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00208/0.2754, allocations: 1.123 MB / 0.9433 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.2754, allocations: 0 / 0.9433 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002305/0.2777, allocations: 0.6974 MB / 0.944 GB, free: 9.699 MB / 0.9011 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.001211/0.2789, allocations: 0.6021 MB / 0.9446 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.2805, allocations: 0.7202 MB / 0.9453 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2805, allocations: 1.625 kB / 0.9453 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.2812, allocations: 296.1 kB / 0.9455 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/0.2857, allocations: 0.9499 MB / 0.9465 GB, free: 7.145 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.2913, allocations: 2.985 MB / 0.9494 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.2925, allocations: 0.823 MB / 0.9502 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001299/0.2938, allocations: 313 kB / 0.9505 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.2941, allocations: 132.5 kB / 0.9506 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of SimCode: time 2.204e-06/0.2942, allocations: 0 / 0.9506 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of Templates: time 0.07152/0.3657, allocations: 36.54 MB / 0.9863 GB, free: 15.02 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.425924165989272]