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.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.00249/0.00249, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003192/0.003192, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.395/3.395, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.074e-06/2.074e-06, allocations: 0 / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.671e-05, allocations: 3.625 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1044/0.1044, allocations: 80.26 MB / 0.9558 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03618/0.1406, allocations: 20.56 MB / 0.9759 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.1443, allocations: 170.6 kB / 0.9761 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.1483, allocations: 1.273 MB / 0.9773 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.1604, allocations: 4.033 MB / 0.9813 GB, free: 12.02 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.007637/0.168, allocations: 2.677 MB / 0.9839 GB, free: 9.332 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.01169/0.1797, allocations: 7.004 MB / 0.9907 GB, free: 2.309 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.1832, allocations: 1.683 MB / 0.9924 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009897/0.1931, allocations: 3.725 MB / 0.996 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.1966, allocations: 1.614 MB / 0.9976 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.1971, allocations: 208 kB / 0.9978 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.2012, allocations: 1.36 MB / 0.9991 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0007735/0.2019, allocations: 0.6185 MB / 0.9997 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.2038, allocations: 0.8884 MB / 1.001 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.007723/0.2115, allocations: 3.941 MB / 1.004 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2115, allocations: 0 / 1.004 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2115, allocations: 0 / 1.004 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.625e-05/0.2116, allocations: 7.922 kB / 1.004 GB, free: 4.207 MB / 0.9636 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.006314/0.2179, allocations: 3.166 MB / 1.008 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.218, allocations: 8.031 kB / 1.008 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.2191, allocations: 426.9 kB / 1.008 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.2235, allocations: 2.142 MB / 1.01 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.2236, allocations: 110.7 kB / 1.01 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.2239, allocations: 167.9 kB / 1.01 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.2274, allocations: 1.881 MB / 1.012 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.2274, allocations: 7.938 kB / 1.012 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.2275, allocations: 56 kB / 1.012 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.2276, allocations: 36 kB / 1.012 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.2298, allocations: 0.9858 MB / 1.013 GB, free: 10.95 MB / 0.9792 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.01231/0.2421, allocations: 7.891 MB / 1.021 GB, free: 2.699 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.243, allocations: 401.5 kB / 1.021 GB, free: 2.293 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.2436, allocations: 255.8 kB / 1.022 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.244, allocations: 124.3 kB / 1.022 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.244, allocations: 45.89 kB / 1.022 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/0.244, allocations: 0 / 1.022 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of matching and sorting (n=59): time 0.002119/0.2462, allocations: 0.7927 MB / 1.022 GB, free: 1.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2462, allocations: 59.91 kB / 1.023 GB, free: 1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/0.2495, allocations: 2.151 MB / 1.025 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.2496, allocations: 49.7 kB / 1.025 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.2508, allocations: 1.195 MB / 1.026 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.2511, allocations: 254.1 kB / 1.026 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.2516, allocations: 365 kB / 1.026 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003893/0.252, allocations: 0.5785 MB / 1.027 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/0.2527, allocations: 283.8 kB / 1.027 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.2546, allocations: 1.422 MB / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.2569, allocations: 1.45 MB / 1.03 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.2569, allocations: 8 kB / 1.03 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00359/0.2605, allocations: 1.367 MB / 1.031 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.2606, allocations: 12 kB / 1.031 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.2606, allocations: 20 kB / 1.031 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.428e-05/0.2607, allocations: 24 kB / 1.031 GB, free: 6.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2618, allocations: 327.5 kB / 1.032 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.601e-05/0.2619, allocations: 40.23 kB / 1.032 GB, free: 6.621 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.2631, allocations: 162.9 kB / 1.032 GB, free: 6.461 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.2632, allocations: 68 kB / 1.032 GB, free: 6.395 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (171): * Single equations (assignments): 171 * 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.0009483/0.2641, allocations: 492 kB / 1.032 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.2645, allocations: 214.7 kB / 1.033 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.2661, allocations: 0.7016 MB / 1.033 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.2661, allocations: 8 kB / 1.033 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2661, allocations: 0 / 1.033 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.2673, allocations: 0.6418 MB / 1.034 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.2719, allocations: 2.489 MB / 1.036 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2719, allocations: 4 kB / 1.036 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.2726, allocations: 147.8 kB / 1.037 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.2726, allocations: 8.25 kB / 1.037 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.526e-05/0.2726, allocations: 16 kB / 1.037 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.2727, allocations: 11.92 kB / 1.037 GB, free: 1.527 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.2727, allocations: 7.938 kB / 1.037 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.2751, allocations: 1.172 MB / 1.038 GB, free: 300 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.2758, allocations: 286.4 kB / 1.038 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.276, allocations: 16.03 kB / 1.038 GB, free: 15.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.2767, allocations: 39.91 kB / 1.038 GB, free: 15.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.2769, allocations: 60.34 kB / 1.038 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.277, allocations: 39.97 kB / 1.038 GB, free: 15.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001897/0.2789, allocations: 1.213 MB / 1.039 GB, free: 14.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2789, allocations: 0 / 1.039 GB, free: 14.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002129/0.281, allocations: 0.7169 MB / 1.04 GB, free: 13.91 MB / 1.01 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.001272/0.2823, allocations: 0.6019 MB / 1.041 GB, free: 13.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002/0.2843, allocations: 0.8345 MB / 1.041 GB, free: 12.47 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2843, allocations: 0 / 1.041 GB, free: 12.47 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.2849, allocations: 299.8 kB / 1.042 GB, free: 12.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/0.2891, allocations: 0.9587 MB / 1.043 GB, free: 11.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.295, allocations: 3.122 MB / 1.046 GB, free: 8.027 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.296, allocations: 0.8651 MB / 1.047 GB, free: 7.129 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001235/0.2973, allocations: 335 kB / 1.047 GB, free: 6.805 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.2976, allocations: 144.5 kB / 1.047 GB, free: 6.664 MB / 1.01 GB Notification: Performance of SimCode: time 1.282e-06/0.2976, allocations: 0 / 1.047 GB, free: 6.664 MB / 1.01 GB Notification: Performance of Templates: time 0.4369/0.7345, allocations: 37.33 MB / 1.084 GB, free: 205.7 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] 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: 10.538992432993837]