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.001838/0.001838, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.00235/0.00235, allocations: 170.3 kB / 22.46 MB, free: 5.355 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.562/1.562, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.785/2.785, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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 1.803e-06/1.803e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.129e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09027/0.0903, allocations: 70.44 MB / 1.02 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03286/0.1232, allocations: 17.6 MB / 1.037 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005851/0.129, allocations: 154.7 kB / 1.037 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005317/0.1343, allocations: 1.257 MB / 1.038 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/0.147, allocations: 3.974 MB / 1.042 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.154, allocations: 2.233 MB / 1.044 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.1653, allocations: 6.867 MB / 1.051 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003977/0.1692, allocations: 1.591 MB / 1.053 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009186/0.1784, allocations: 3.248 MB / 1.056 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.182, allocations: 1.582 MB / 1.057 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007261/0.1827, allocations: 200 kB / 1.058 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.187, allocations: 1.375 MB / 1.059 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.188, allocations: 0.5795 MB / 1.059 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.1904, allocations: 0.8495 MB / 1.06 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007196/0.1975, allocations: 3.79 MB / 1.064 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1976, allocations: 0 / 1.064 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1976, allocations: 4 kB / 1.064 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.747e-05/0.1976, allocations: 0 / 1.064 GB, free: 7.453 MB / 0.9669 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.005286/0.2029, allocations: 2.703 MB / 1.067 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.203, allocations: 12.03 kB / 1.067 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.2038, allocations: 279.3 kB / 1.067 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/0.2077, allocations: 2 MB / 1.069 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2078, allocations: 102.7 kB / 1.069 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.2081, allocations: 147.9 kB / 1.069 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.2112, allocations: 1.821 MB / 1.071 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.2112, allocations: 3.953 kB / 1.071 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.2114, allocations: 71.97 kB / 1.071 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.2114, allocations: 36 kB / 1.071 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.2139, allocations: 1.122 MB / 1.072 GB, free: 14.9 MB / 0.9825 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.008334/0.2223, allocations: 5.09 MB / 1.077 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2233, allocations: 441 kB / 1.077 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/0.2241, allocations: 306.8 kB / 1.078 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.2245, allocations: 116.3 kB / 1.078 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.348e-05/0.2246, allocations: 47.06 kB / 1.078 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=59): time 3.246e-06/0.2246, allocations: 0 / 1.078 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59): time 0.002955/0.2276, allocations: 0.9449 MB / 1.079 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.2276, allocations: 59.91 kB / 1.079 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.2302, allocations: 1.56 MB / 1.08 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.2304, allocations: 37.7 kB / 1.08 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009296/0.2313, allocations: 0.9709 MB / 1.081 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.2316, allocations: 234 kB / 1.082 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.2319, allocations: 226.8 kB / 1.082 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2321, allocations: 345.9 kB / 1.082 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007744/0.2329, allocations: 334.3 kB / 1.083 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.2342, allocations: 0.9702 MB / 1.083 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.236, allocations: 1.009 MB / 1.084 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.236, allocations: 3.938 kB / 1.084 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002773/0.2388, allocations: 1.207 MB / 1.086 GB, free: 472 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2388, allocations: 8.875 kB / 1.086 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.2388, allocations: 12 kB / 1.086 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.2389, allocations: 20 kB / 1.086 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.24, allocations: 287.5 kB / 1.086 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/0.24, allocations: 19.94 kB / 1.086 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.2413, allocations: 143.4 kB / 1.086 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.2414, allocations: 51.98 kB / 1.086 GB, free: 15.93 MB / 0.9981 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.0008434/0.2423, allocations: 429.5 kB / 1.087 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.2427, allocations: 182.6 kB / 1.087 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.2448, allocations: 0.8594 MB / 1.088 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.2448, allocations: 12 kB / 1.088 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2448, allocations: 0 / 1.088 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/0.2464, allocations: 0.8018 MB / 1.088 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.2507, allocations: 2.08 MB / 1.09 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.2507, allocations: 7.938 kB / 1.09 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/0.2515, allocations: 176 kB / 1.091 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.2515, allocations: 4 kB / 1.091 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.2516, allocations: 19.98 kB / 1.091 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.2516, allocations: 7.938 kB / 1.091 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2516, allocations: 11.88 kB / 1.091 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.2544, allocations: 1.325 MB / 1.092 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.2551, allocations: 258.7 kB / 1.092 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.2553, allocations: 16 kB / 1.092 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000942/0.2562, allocations: 63.86 kB / 1.092 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.2564, allocations: 60.34 kB / 1.092 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/0.2564, allocations: 27.98 kB / 1.092 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001655/0.2581, allocations: 1.029 MB / 1.093 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.2581, allocations: 0 / 1.093 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002046/0.2601, allocations: 0.6935 MB / 1.094 GB, free: 7.727 MB / 0.9981 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.001206/0.2613, allocations: 0.5985 MB / 1.095 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.2633, allocations: 0.7844 MB / 1.095 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2633, allocations: 0 / 1.095 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000803/0.2641, allocations: 340.1 kB / 1.096 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00465/0.2688, allocations: 0.9126 MB / 1.097 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.2741, allocations: 2.999 MB / 1.099 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/0.2751, allocations: 0.8385 MB / 1.1 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001462/0.2766, allocations: 338.5 kB / 1.101 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.2769, allocations: 136.5 kB / 1.101 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of SimCode: time 1.543e-06/0.2769, allocations: 0 / 1.101 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of Templates: time 0.5668/0.8437, allocations: 36.23 MB / 1.136 GB, free: 142.8 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] 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: 10.01245715469122]