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.001711/0.001711, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002505/0.002505, allocations: 220 kB / 23.04 MB, free: 5.078 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.313/1.313, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 179] 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 2.9/2.9, allocations: 0.5003 GB / 0.8061 GB, free: 26.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) [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.001798/0.001798, allocations: 61.75 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3144, allocations: 179 MB / 1.345 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0799/0.3943, allocations: 78.93 MB / 1.422 GB, free: 1.312 MB / 1.108 GB Notification: Performance of NFInst.instExpressions: time 0.02679/0.4211, allocations: 18.97 MB / 1.441 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.4245, allocations: 154.7 kB / 1.441 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.428, allocations: 1.308 MB / 1.442 GB, free: 12.82 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.4381, allocations: 3.9 MB / 1.446 GB, free: 8.906 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00552/0.4436, allocations: 2.188 MB / 1.448 GB, free: 6.734 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.4541, allocations: 6.863 MB / 1.455 GB, free: 15.85 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.4571, allocations: 1.603 MB / 1.457 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006581/0.4637, allocations: 2.736 MB / 1.459 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.4669, allocations: 1.843 MB / 1.461 GB, free: 9.621 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.4672, allocations: 199.9 kB / 1.461 GB, free: 9.426 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.4709, allocations: 1.758 MB / 1.463 GB, free: 7.664 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.4715, allocations: 0.5601 MB / 1.464 GB, free: 7.102 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.4729, allocations: 1.256 MB / 1.465 GB, free: 5.84 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.4781, allocations: 3.858 MB / 1.468 GB, free: 1.969 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4781, allocations: 3.984 kB / 1.468 GB, free: 1.965 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4781, allocations: 0 / 1.468 GB, free: 1.965 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.4782, allocations: 0 / 1.468 GB, free: 1.965 MB / 1.154 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.004358/0.4825, allocations: 2.728 MB / 1.471 GB, free: 15.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4826, allocations: 8.031 kB / 1.471 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.843e-05/0.4826, allocations: 34.89 kB / 1.471 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.4828, allocations: 202.8 kB / 1.471 GB, free: 14.93 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006281/0.4834, allocations: 281.6 kB / 1.472 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.4866, allocations: 1.968 MB / 1.474 GB, free: 12.65 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.4867, allocations: 110.7 kB / 1.474 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.4869, allocations: 140 kB / 1.474 GB, free: 12.4 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.4894, allocations: 1.524 MB / 1.475 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.4895, allocations: 7.938 kB / 1.475 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.4896, allocations: 56 kB / 1.475 GB, free: 10.74 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-05/0.4897, allocations: 39.98 kB / 1.475 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.4918, allocations: 1.126 MB / 1.477 GB, free: 9.566 MB / 1.17 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.008294/0.5001, allocations: 7.839 MB / 1.484 GB, free: 1.078 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.501, allocations: 448.4 kB / 1.485 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.5016, allocations: 306.2 kB / 1.485 GB, free: 336 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000365/0.502, allocations: 104.4 kB / 1.485 GB, free: 232 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.502, allocations: 43.06 kB / 1.485 GB, free: 180 kB / 1.17 GB Notification: Performance of pre-optimization done (n=59): time 1.643e-06/0.5021, allocations: 0 / 1.485 GB, free: 180 kB / 1.17 GB Notification: Performance of matching and sorting (n=59): time 0.002157/0.5042, allocations: 0.9837 MB / 1.486 GB, free: 15.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5042, allocations: 55.91 kB / 1.486 GB, free: 15.12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.5065, allocations: 1.807 MB / 1.488 GB, free: 13.27 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/0.5065, allocations: 41.7 kB / 1.488 GB, free: 13.23 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008252/0.5074, allocations: 0.949 MB / 1.489 GB, free: 12.27 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.5076, allocations: 230 kB / 1.489 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.5079, allocations: 230.8 kB / 1.489 GB, free: 11.82 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.508, allocations: 353.9 kB / 1.49 GB, free: 11.46 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.5087, allocations: 330.4 kB / 1.49 GB, free: 11.14 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.5097, allocations: 0.686 MB / 1.491 GB, free: 10.3 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.5114, allocations: 1.013 MB / 1.492 GB, free: 9.152 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5114, allocations: 0 / 1.492 GB, free: 9.152 MB / 1.186 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002179/0.5135, allocations: 1.238 MB / 1.493 GB, free: 7.902 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5136, allocations: 8 kB / 1.493 GB, free: 7.895 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.5136, allocations: 12 kB / 1.493 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.5136, allocations: 19.94 kB / 1.493 GB, free: 7.863 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.5146, allocations: 287.8 kB / 1.493 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.5146, allocations: 19.94 kB / 1.493 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.5157, allocations: 166.9 kB / 1.493 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.5158, allocations: 51.98 kB / 1.493 GB, free: 7.348 MB / 1.186 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.0005989/0.5164, allocations: 437.4 kB / 1.494 GB, free: 6.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.5167, allocations: 210.7 kB / 1.494 GB, free: 6.703 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.5185, allocations: 0.8743 MB / 1.495 GB, free: 5.828 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.5185, allocations: 12 kB / 1.495 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5185, allocations: 0 / 1.495 GB, free: 5.816 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.5199, allocations: 0.8056 MB / 1.496 GB, free: 4.965 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.5238, allocations: 2.43 MB / 1.498 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5238, allocations: 4 kB / 1.498 GB, free: 2.445 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/0.5245, allocations: 184 kB / 1.498 GB, free: 2.266 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.5245, allocations: 4 kB / 1.498 GB, free: 2.262 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.5246, allocations: 23.98 kB / 1.498 GB, free: 2.238 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5246, allocations: 4 kB / 1.498 GB, free: 2.234 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5246, allocations: 3.938 kB / 1.498 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.527, allocations: 1.367 MB / 1.499 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006058/0.5276, allocations: 298.4 kB / 1.5 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.5278, allocations: 20 kB / 1.5 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.5287, allocations: 59.92 kB / 1.5 GB, free: 464 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5288, allocations: 60.28 kB / 1.5 GB, free: 400 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.5289, allocations: 31.97 kB / 1.5 GB, free: 368 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00169/0.5306, allocations: 1.255 MB / 1.501 GB, free: 15.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5306, allocations: 0 / 1.501 GB, free: 15.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001621/0.5322, allocations: 0.6704 MB / 1.502 GB, free: 14.41 MB / 1.201 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.00354/0.5357, allocations: 2.391 MB / 1.504 GB, free: 11.97 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.5374, allocations: 0.7848 MB / 1.505 GB, free: 11.19 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5374, allocations: 0 / 1.505 GB, free: 11.19 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.5381, allocations: 339.7 kB / 1.505 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.5428, allocations: 1.194 MB / 1.506 GB, free: 9.688 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.5606, allocations: 12.7 MB / 1.519 GB, free: 12.47 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.5616, allocations: 1.409 MB / 1.52 GB, free: 11.03 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001257/0.5629, allocations: 389.4 kB / 1.521 GB, free: 10.65 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009654/0.5639, allocations: 0.7687 MB / 1.521 GB, free: 9.883 MB / 1.217 GB Notification: Performance of SimCode: time 8.01e-07/0.5639, allocations: 0 / 1.521 GB, free: 9.883 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.6686, allocations: 58.64 MB / 1.579 GB, free: 15.84 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.27, allocations: 8 kB / 1.579 GB, free: 15.83 MB / 1.279 GB " [Timeout remaining time 286] (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/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: 20.614401992002968]