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.001333/0.001333, allocations: 84.28 kB / 19.77 MB, free: 2.02 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.001638/0.001638, allocations: 162.7 kB / 23.02 MB, free: 4.945 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.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.903/2.903, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002159/0.002159, allocations: 67.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9589/0.961, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08219/1.043, allocations: 71.13 MB / 1.223 GB, free: 1.48 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03434/1.078, allocations: 17.58 MB / 1.241 GB, free: 5.379 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006513/1.084, allocations: 154.2 kB / 1.241 GB, free: 5.297 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004863/1.089, allocations: 1.24 MB / 1.242 GB, free: 4.582 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/1.103, allocations: 3.877 MB / 1.246 GB, free: 2.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008128/1.111, allocations: 2.134 MB / 1.248 GB, free: 1.125 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01263/1.123, allocations: 6.806 MB / 1.254 GB, free: 13.81 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00357/1.127, allocations: 1.576 MB / 1.256 GB, free: 12.97 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008136/1.135, allocations: 2.752 MB / 1.259 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004998/1.14, allocations: 1.755 MB / 1.26 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0008482/1.141, allocations: 199.5 kB / 1.261 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00589/1.147, allocations: 1.329 MB / 1.262 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/1.148, allocations: 0.5731 MB / 1.262 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002707/1.151, allocations: 1.011 MB / 1.263 GB, free: 9.602 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00962/1.16, allocations: 3.799 MB / 1.267 GB, free: 8.176 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.16, allocations: 0.8125 kB / 1.267 GB, free: 8.176 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.794e-06/1.16, allocations: 0 / 1.267 GB, free: 8.176 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.113e-05/1.16, allocations: 0 / 1.267 GB, free: 8.176 MB / 1.123 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.007203/1.167, allocations: 2.721 MB / 1.27 GB, free: 6.461 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.168, allocations: 10.31 kB / 1.27 GB, free: 6.461 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.169, allocations: 281.3 kB / 1.27 GB, free: 6.324 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004515/1.173, allocations: 1.984 MB / 1.272 GB, free: 5.227 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/1.173, allocations: 109.1 kB / 1.272 GB, free: 5.176 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/1.173, allocations: 138.7 kB / 1.272 GB, free: 5.133 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/1.177, allocations: 1.823 MB / 1.274 GB, free: 4.047 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/1.177, allocations: 6.312 kB / 1.274 GB, free: 4.043 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.177, allocations: 58.17 kB / 1.274 GB, free: 4 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/1.177, allocations: 40.06 kB / 1.274 GB, free: 3.996 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/1.18, allocations: 1.125 MB / 1.275 GB, free: 3.426 MB / 1.123 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.009228/1.189, allocations: 5.095 MB / 1.28 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.19, allocations: 447.2 kB / 1.281 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/1.19, allocations: 306.4 kB / 1.281 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/1.191, allocations: 116.5 kB / 1.281 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.191, allocations: 39.06 kB / 1.281 GB, free: 14.96 MB / 1.139 GB Notification: Performance of pre-optimization done (n=59): time 2.345e-06/1.191, allocations: 3.938 kB / 1.281 GB, free: 14.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=59): time 0.002595/1.194, allocations: 0.9474 MB / 1.282 GB, free: 14.49 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.194, allocations: 61.59 kB / 1.282 GB, free: 14.42 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.196, allocations: 1.55 MB / 1.284 GB, free: 13.58 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/1.196, allocations: 39.08 kB / 1.284 GB, free: 13.54 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.197, allocations: 0.966 MB / 1.285 GB, free: 12.69 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/1.197, allocations: 234.9 kB / 1.285 GB, free: 12.48 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/1.198, allocations: 226.4 kB / 1.285 GB, free: 12.35 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.198, allocations: 344.2 kB / 1.285 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/1.199, allocations: 333.7 kB / 1.286 GB, free: 11.86 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.2, allocations: 0.9702 MB / 1.287 GB, free: 10.9 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/1.202, allocations: 1.011 MB / 1.288 GB, free: 10.14 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.202, allocations: 3.281 kB / 1.288 GB, free: 10.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002738/1.205, allocations: 1.201 MB / 1.289 GB, free: 9.539 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/1.205, allocations: 9.062 kB / 1.289 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.205, allocations: 10.44 kB / 1.289 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.205, allocations: 15 kB / 1.289 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.206, allocations: 297.1 kB / 1.289 GB, free: 9.457 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/1.206, allocations: 24.05 kB / 1.289 GB, free: 9.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.208, allocations: 133.8 kB / 1.289 GB, free: 9.363 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/1.208, allocations: 53.12 kB / 1.289 GB, free: 9.352 MB / 1.139 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.0008716/1.209, allocations: 440.2 kB / 1.29 GB, free: 9.035 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003951/1.209, allocations: 180.6 kB / 1.29 GB, free: 8.938 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/1.211, allocations: 0.8598 MB / 1.291 GB, free: 8.457 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.211, allocations: 10.95 kB / 1.291 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.211, allocations: 0 / 1.291 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/1.212, allocations: 0.8048 MB / 1.291 GB, free: 7.922 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/1.217, allocations: 2.082 MB / 1.294 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.217, allocations: 2.156 kB / 1.294 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008841/1.218, allocations: 179.1 kB / 1.294 GB, free: 6.504 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/1.218, allocations: 12.75 kB / 1.294 GB, free: 6.496 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/1.218, allocations: 18.78 kB / 1.294 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/1.218, allocations: 8.328 kB / 1.294 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.218, allocations: 7.281 kB / 1.294 GB, free: 6.477 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/1.221, allocations: 1.323 MB / 1.295 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008753/1.222, allocations: 261.5 kB / 1.295 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/1.223, allocations: 22.42 kB / 1.295 GB, free: 5.496 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/1.224, allocations: 62.34 kB / 1.295 GB, free: 5.461 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.224, allocations: 51.62 kB / 1.295 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/1.224, allocations: 34.62 kB / 1.295 GB, free: 5.414 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001829/1.226, allocations: 1.017 MB / 1.296 GB, free: 4.871 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/1.226, allocations: 1.156 kB / 1.296 GB, free: 4.871 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002715/1.228, allocations: 0.6937 MB / 1.297 GB, free: 4.68 MB / 1.139 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.001368/1.23, allocations: 0.5827 MB / 1.298 GB, free: 4.363 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002267/1.232, allocations: 0.7863 MB / 1.298 GB, free: 3.934 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.232, allocations: 3.938 kB / 1.298 GB, free: 3.93 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007625/1.233, allocations: 336.1 kB / 1.299 GB, free: 3.602 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/1.237, allocations: 0.9166 MB / 1.3 GB, free: 2.711 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/1.242, allocations: 3.07 MB / 1.303 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/1.243, allocations: 0.8307 MB / 1.303 GB, free: 14.7 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001315/1.245, allocations: 341.4 kB / 1.304 GB, free: 14.37 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.245, allocations: 136.4 kB / 1.304 GB, free: 14.23 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/1.245, allocations: 4 kB / 1.304 GB, free: 14.23 MB / 1.154 GB Notification: Performance of Templates: time 0.0671/1.312, allocations: 36.42 MB / 1.339 GB, free: 10.61 MB / 1.186 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 -s ida -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/jenkins1/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.596153437974863]