Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 196.9 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 443.4 MB / 0.7322 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 67.89 kB / 1.061 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7903, allocations: 160.8 MB / 1.218 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09116/0.8815, allocations: 78.47 MB / 1.295 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03214/0.9136, allocations: 18.97 MB / 1.314 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005393/0.919, allocations: 150.7 kB / 1.314 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.9236, allocations: 1.304 MB / 1.315 GB, free: 4.168 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.9362, allocations: 3.883 MB / 1.319 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007067/0.9432, allocations: 2.2 MB / 1.321 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01452/0.9577, allocations: 6.872 MB / 1.328 GB, free: 7.199 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004985/0.9627, allocations: 1.587 MB / 1.329 GB, free: 5.562 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008828/0.9716, allocations: 2.422 MB / 1.332 GB, free: 3.145 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005467/0.977, allocations: 1.856 MB / 1.333 GB, free: 1.281 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.9782, allocations: 204 kB / 1.334 GB, free: 1.082 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/0.9852, allocations: 1.696 MB / 1.335 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.9868, allocations: 0.5717 MB / 1.336 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003822/0.9907, allocations: 1.248 MB / 1.337 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/1.003, allocations: 3.737 MB / 1.341 GB, free: 9.805 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.003, allocations: 0 / 1.341 GB, free: 9.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/1.003, allocations: 4 kB / 1.341 GB, free: 9.801 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001217/1.003, allocations: 7.922 kB / 1.341 GB, free: 9.793 MB / 1.045 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.009406/1.012, allocations: 2.778 MB / 1.343 GB, free: 6.945 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.012, allocations: 12.03 kB / 1.343 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/1.014, allocations: 279.3 kB / 1.344 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006708/1.021, allocations: 2.048 MB / 1.346 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/1.021, allocations: 110.6 kB / 1.346 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005208/1.021, allocations: 144 kB / 1.346 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/1.026, allocations: 1.516 MB / 1.347 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/1.026, allocations: 7.938 kB / 1.347 GB, free: 2.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/1.026, allocations: 56 kB / 1.347 GB, free: 2.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/1.027, allocations: 43.98 kB / 1.348 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/1.03, allocations: 1.13 MB / 1.349 GB, free: 1.477 MB / 1.045 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.01411/1.044, allocations: 7.616 MB / 1.356 GB, free: 9.281 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.046, allocations: 447.8 kB / 1.357 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/1.047, allocations: 318 kB / 1.357 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.048, allocations: 1.156 MB / 1.358 GB, free: 7.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/1.048, allocations: 39.06 kB / 1.358 GB, free: 7.062 MB / 1.061 GB Notification: Performance of pre-optimization done (n=59): time 3.196e-06/1.048, allocations: 0 / 1.358 GB, free: 7.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=59): time 0.003477/1.052, allocations: 0.9722 MB / 1.359 GB, free: 6.086 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.052, allocations: 55.91 kB / 1.359 GB, free: 6.016 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/1.056, allocations: 1.795 MB / 1.361 GB, free: 4.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/1.056, allocations: 41.7 kB / 1.361 GB, free: 4.137 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.057, allocations: 0.949 MB / 1.362 GB, free: 3.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/1.057, allocations: 230.1 kB / 1.362 GB, free: 2.953 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/1.058, allocations: 226.8 kB / 1.362 GB, free: 2.727 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002547/1.058, allocations: 353.9 kB / 1.362 GB, free: 2.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.059, allocations: 330.4 kB / 1.363 GB, free: 2.051 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.061, allocations: 0.6899 MB / 1.363 GB, free: 1.211 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/1.063, allocations: 1.013 MB / 1.364 GB, free: 60 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.063, allocations: 4 kB / 1.364 GB, free: 56 kB / 1.061 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003824/1.067, allocations: 1.223 MB / 1.366 GB, free: 14.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/1.067, allocations: 12 kB / 1.366 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.067, allocations: 8 kB / 1.366 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.552e-05/1.067, allocations: 16 kB / 1.366 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.069, allocations: 296 kB / 1.366 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.602e-05/1.069, allocations: 19.94 kB / 1.366 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.071, allocations: 170.9 kB / 1.366 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.071, allocations: 51.98 kB / 1.366 GB, free: 14.26 MB / 1.076 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.001153/1.072, allocations: 449.3 kB / 1.367 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/1.073, allocations: 198.7 kB / 1.367 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/1.076, allocations: 0.8784 MB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.076, allocations: 8 kB / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.076, allocations: 0 / 1.368 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002108/1.078, allocations: 0.8018 MB / 1.368 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/1.084, allocations: 2.458 MB / 1.371 GB, free: 9.332 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/1.084, allocations: 15.88 kB / 1.371 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.085, allocations: 184 kB / 1.371 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/1.085, allocations: 4 kB / 1.371 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/1.086, allocations: 16 kB / 1.371 GB, free: 9.117 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/1.086, allocations: 4 kB / 1.371 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.086, allocations: 11.92 kB / 1.371 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003896/1.089, allocations: 1.359 MB / 1.372 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009341/1.09, allocations: 379.5 kB / 1.373 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/1.091, allocations: 12 kB / 1.373 GB, free: 7.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/1.092, allocations: 67.78 kB / 1.373 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.092, allocations: 56.36 kB / 1.373 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/1.092, allocations: 39.97 kB / 1.373 GB, free: 7.137 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002048/1.094, allocations: 1.247 MB / 1.374 GB, free: 5.871 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 0 / 1.374 GB, free: 5.871 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002089/1.096, allocations: 0.6586 MB / 1.375 GB, free: 5.211 MB / 1.076 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.001314/1.097, allocations: 0.6102 MB / 1.375 GB, free: 4.605 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00206/1.099, allocations: 0.7852 MB / 1.376 GB, free: 3.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.099, allocations: 4.312 kB / 1.376 GB, free: 3.816 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007637/1.1, allocations: 342.5 kB / 1.376 GB, free: 3.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005821/1.106, allocations: 1.199 MB / 1.378 GB, free: 2.305 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/1.112, allocations: 3.116 MB / 1.381 GB, free: 15.12 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.113, allocations: 1.401 MB / 1.382 GB, free: 13.68 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001497/1.114, allocations: 391.9 kB / 1.382 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/1.115, allocations: 151.4 kB / 1.383 GB, free: 13.16 MB / 1.092 GB Notification: Performance of SimCode: time 1.282e-06/1.115, allocations: 0 / 1.383 GB, free: 13.16 MB / 1.092 GB Notification: Performance of Templates: time 0.07761/1.192, allocations: 42.81 MB / 1.424 GB, free: 2.781 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.52205940708518]