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.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.001861/0.001861, allocations: 110 kB / 16.45 MB, free: 6.035 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.002098/0.002098, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.362/1.362, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 69.98 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3458, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08996/0.4357, allocations: 77.86 MB / 1.38 GB, free: 3.391 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03046/0.4662, allocations: 18.92 MB / 1.398 GB, free: 432 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.4707, allocations: 115.3 kB / 1.399 GB, free: 316 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.4745, allocations: 1.293 MB / 1.4 GB, free: 15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.4853, allocations: 3.83 MB / 1.404 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.4915, allocations: 2.099 MB / 1.406 GB, free: 9.078 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.5018, allocations: 6.682 MB / 1.412 GB, free: 2.383 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003502/0.5053, allocations: 1.7 MB / 1.414 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0073/0.5126, allocations: 2.664 MB / 1.416 GB, free: 13.97 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.5162, allocations: 1.841 MB / 1.418 GB, free: 12.12 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007978/0.517, allocations: 203.9 kB / 1.418 GB, free: 11.92 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.5218, allocations: 1.661 MB / 1.42 GB, free: 10.26 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.5229, allocations: 0.5601 MB / 1.421 GB, free: 9.695 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002911/0.5258, allocations: 1.26 MB / 1.422 GB, free: 8.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00869/0.5345, allocations: 3.749 MB / 1.425 GB, free: 4.668 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5345, allocations: 4 kB / 1.425 GB, free: 4.664 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5345, allocations: 4 kB / 1.425 GB, free: 4.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001168/0.5346, allocations: 0 / 1.425 GB, free: 4.66 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.006276/0.5409, allocations: 2.786 MB / 1.428 GB, free: 1.805 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5409, allocations: 12.62 kB / 1.428 GB, free: 1.793 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000336/0.5412, allocations: 198.8 kB / 1.428 GB, free: 1.59 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/0.5422, allocations: 275.3 kB / 1.429 GB, free: 1.32 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/0.5471, allocations: 2.04 MB / 1.431 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.5472, allocations: 102.7 kB / 1.431 GB, free: 15.13 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.5476, allocations: 151.9 kB / 1.431 GB, free: 14.98 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.5508, allocations: 1.516 MB / 1.432 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.5508, allocations: 7.891 kB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.551, allocations: 60 kB / 1.432 GB, free: 13.32 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-05/0.5511, allocations: 40 kB / 1.432 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.5534, allocations: 1.122 MB / 1.434 GB, free: 12.15 MB / 1.139 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.01125/0.5646, allocations: 7.937 MB / 1.441 GB, free: 3.566 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5657, allocations: 452.5 kB / 1.442 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.5663, allocations: 316.4 kB / 1.442 GB, free: 2.805 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009444/0.5672, allocations: 1.145 MB / 1.443 GB, free: 1.402 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.5673, allocations: 43.12 kB / 1.443 GB, free: 1.348 MB / 1.139 GB Notification: Performance of pre-optimization done (n=59): time 2.084e-06/0.5673, allocations: 0 / 1.443 GB, free: 1.348 MB / 1.139 GB Notification: Performance of matching and sorting (n=59): time 0.002489/0.5698, allocations: 0.9701 MB / 1.444 GB, free: 380 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.5698, allocations: 59.97 kB / 1.444 GB, free: 308 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.5726, allocations: 1.787 MB / 1.446 GB, free: 14.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.5728, allocations: 45.7 kB / 1.446 GB, free: 14.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008723/0.5737, allocations: 0.9489 MB / 1.447 GB, free: 13.47 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.5739, allocations: 226.1 kB / 1.447 GB, free: 13.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.5743, allocations: 226.8 kB / 1.447 GB, free: 13.02 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5744, allocations: 353.8 kB / 1.448 GB, free: 12.67 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.5752, allocations: 330.4 kB / 1.448 GB, free: 12.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5762, allocations: 0.6899 MB / 1.449 GB, free: 11.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.5779, allocations: 1.012 MB / 1.45 GB, free: 10.36 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5779, allocations: 0 / 1.45 GB, free: 10.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002548/0.5804, allocations: 1.226 MB / 1.451 GB, free: 9.121 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.5805, allocations: 16.81 kB / 1.451 GB, free: 9.105 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.5805, allocations: 8 kB / 1.451 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.5805, allocations: 20 kB / 1.451 GB, free: 9.078 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.5815, allocations: 283.6 kB / 1.451 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.5815, allocations: 27.86 kB / 1.451 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.5828, allocations: 174.9 kB / 1.451 GB, free: 8.602 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.5829, allocations: 48 kB / 1.451 GB, free: 8.555 MB / 1.154 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.0007518/0.5836, allocations: 441.4 kB / 1.452 GB, free: 8.113 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.5841, allocations: 198.7 kB / 1.452 GB, free: 7.918 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.5859, allocations: 0.8642 MB / 1.453 GB, free: 7.043 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.586, allocations: 19.92 kB / 1.453 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.586, allocations: 0 / 1.453 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.5873, allocations: 0.7918 MB / 1.454 GB, free: 6.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/0.592, allocations: 2.451 MB / 1.456 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.592, allocations: 0 / 1.456 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.5928, allocations: 179.7 kB / 1.456 GB, free: 3.465 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5928, allocations: 4 kB / 1.456 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.5929, allocations: 24.2 kB / 1.456 GB, free: 3.438 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.5929, allocations: 4 kB / 1.456 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5929, allocations: 4 kB / 1.456 GB, free: 3.43 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.5956, allocations: 1.349 MB / 1.458 GB, free: 2.039 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/0.5965, allocations: 371.5 kB / 1.458 GB, free: 1.656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/0.5969, allocations: 12 kB / 1.458 GB, free: 1.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.5979, allocations: 75.88 kB / 1.458 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5981, allocations: 52.38 kB / 1.458 GB, free: 1.516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.5981, allocations: 35.97 kB / 1.458 GB, free: 1.48 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002107/0.6003, allocations: 1.247 MB / 1.459 GB, free: 220 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6003, allocations: 0 / 1.459 GB, free: 220 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.002013/0.6023, allocations: 0.6548 MB / 1.46 GB, free: 15.56 MB / 1.17 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.004214/0.6065, allocations: 2.413 MB / 1.462 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.6083, allocations: 0.7766 MB / 1.463 GB, free: 12.34 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6084, allocations: 0 / 1.463 GB, free: 12.34 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.6091, allocations: 340.4 kB / 1.463 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007197/0.6163, allocations: 1.185 MB / 1.465 GB, free: 10.85 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/0.6382, allocations: 12.64 MB / 1.477 GB, free: 13.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.6394, allocations: 1.409 MB / 1.478 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001666/0.641, allocations: 383.3 kB / 1.479 GB, free: 11.86 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.6422, allocations: 0.7609 MB / 1.479 GB, free: 11.1 MB / 1.186 GB Notification: Performance of SimCode: time 1.042e-06/0.6422, allocations: 0 / 1.479 GB, free: 11.1 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/0.7567, allocations: 57.85 MB / 1.536 GB, free: 1.938 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.05, allocations: 7.922 kB / 1.536 GB, free: 1.93 MB / 1.232 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.640530365984887]