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.002033/0.002033, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002417/0.002417, allocations: 165.6 kB / 23.55 MB, free: 0.8906 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.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.917/2.917, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.334e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09961/0.09964, allocations: 70.56 MB / 0.8797 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.133, allocations: 17.61 MB / 0.8969 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.1364, allocations: 154.6 kB / 0.8971 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.1405, allocations: 1.253 MB / 0.8983 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.1534, allocations: 3.998 MB / 0.9022 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006747/0.1602, allocations: 2.202 MB / 0.9044 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.1721, allocations: 6.871 MB / 0.9111 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003853/0.1759, allocations: 1.65 MB / 0.9127 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.1869, allocations: 3.612 MB / 0.9162 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.1909, allocations: 1.563 MB / 0.9177 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008934/0.1918, allocations: 200 kB / 0.9179 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004763/0.1966, allocations: 1.356 MB / 0.9192 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.1977, allocations: 0.5834 MB / 0.9198 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.2002, allocations: 0.8457 MB / 0.9206 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.008166/0.2084, allocations: 3.813 MB / 0.9244 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2084, allocations: 0 / 0.9244 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2084, allocations: 4 kB / 0.9244 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000118/0.2085, allocations: 0 / 0.9244 GB, free: 13.48 MB / 0.8855 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.006121/0.2146, allocations: 2.695 MB / 0.927 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2147, allocations: 12.03 kB / 0.927 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2157, allocations: 411 kB / 0.9274 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/0.2201, allocations: 2.149 MB / 0.9295 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2202, allocations: 110.7 kB / 0.9296 GB, free: 8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.2205, allocations: 148 kB / 0.9298 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.2239, allocations: 1.829 MB / 0.9315 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.2239, allocations: 11.92 kB / 0.9315 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.2241, allocations: 52 kB / 0.9316 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.2241, allocations: 47.98 kB / 0.9316 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.2268, allocations: 1.119 MB / 0.9327 GB, free: 4.641 MB / 0.8855 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.009525/0.2363, allocations: 5.168 MB / 0.9378 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2374, allocations: 444.9 kB / 0.9382 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006931/0.2381, allocations: 310.2 kB / 0.9385 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/0.2385, allocations: 116.4 kB / 0.9386 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.2386, allocations: 43.06 kB / 0.9387 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=59): time 2.534e-06/0.2386, allocations: 0 / 0.9387 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of matching and sorting (n=59): time 0.002653/0.2412, allocations: 0.9644 MB / 0.9396 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.2413, allocations: 59.91 kB / 0.9397 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.2437, allocations: 1.56 MB / 0.9412 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.2439, allocations: 41.7 kB / 0.9412 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.2449, allocations: 0.9709 MB / 0.9422 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.2452, allocations: 222.1 kB / 0.9424 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/0.2458, allocations: 226.8 kB / 0.9426 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.246, allocations: 345.9 kB / 0.9429 GB, free: 10 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.2468, allocations: 330.4 kB / 0.9432 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.2482, allocations: 0.9663 MB / 0.9442 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.2501, allocations: 1.017 MB / 0.9452 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2501, allocations: 0 / 0.9452 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002809/0.2529, allocations: 1.254 MB / 0.9464 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.2529, allocations: 11.98 kB / 0.9464 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.2529, allocations: 16.09 kB / 0.9464 GB, free: 6.059 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.253, allocations: 16 kB / 0.9464 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2541, allocations: 283.6 kB / 0.9467 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.2541, allocations: 19.94 kB / 0.9467 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.2553, allocations: 143.1 kB / 0.9469 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.2554, allocations: 55.98 kB / 0.9469 GB, free: 5.551 MB / 0.9011 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.0008732/0.2562, allocations: 445.3 kB / 0.9473 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.2567, allocations: 198.8 kB / 0.9475 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.2587, allocations: 0.8564 MB / 0.9484 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.2587, allocations: 4 kB / 0.9484 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2587, allocations: 0 / 0.9484 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/0.2602, allocations: 0.8134 MB / 0.9492 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.265, allocations: 2.077 MB / 0.9512 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.265, allocations: 4 kB / 0.9512 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008475/0.2659, allocations: 184 kB / 0.9514 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.2659, allocations: 8 kB / 0.9514 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.266, allocations: 12 kB / 0.9514 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.266, allocations: 8 kB / 0.9514 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.266, allocations: 3.938 kB / 0.9514 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.2688, allocations: 1.348 MB / 0.9527 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.2695, allocations: 270.7 kB / 0.953 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.2697, allocations: 16 kB / 0.953 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008547/0.2705, allocations: 59.92 kB / 0.9531 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2707, allocations: 60.28 kB / 0.9531 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.2708, allocations: 36.06 kB / 0.9531 GB, free: 15 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001627/0.2724, allocations: 1.021 MB / 0.9541 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2724, allocations: 4 kB / 0.9541 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001908/0.2743, allocations: 0.6974 MB / 0.9548 GB, free: 13.29 MB / 0.9167 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.001112/0.2754, allocations: 0.6006 MB / 0.9554 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.2773, allocations: 0.7851 MB / 0.9562 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2773, allocations: 0 / 0.9562 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.2783, allocations: 343.2 kB / 0.9565 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/0.2825, allocations: 0.9483 MB / 0.9574 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.2876, allocations: 3.036 MB / 0.9604 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.2886, allocations: 0.8346 MB / 0.9612 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00124/0.2899, allocations: 332.5 kB / 0.9615 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.2902, allocations: 140.4 kB / 0.9617 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/0.2902, allocations: 0 / 0.9617 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of Templates: time 0.06654/0.3567, allocations: 36.38 MB / 0.9972 GB, free: 2.605 MB / 0.948 GB " [Timeout remaining time 300] 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: 9.350938418065198]