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.001285/0.001285, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001526/0.001526, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.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 3.275/3.275, allocations: 0.49 GB / 0.7951 GB, free: 33.24 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",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.00214/0.00214, allocations: 70.69 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09259/0.436, allocations: 78.92 MB / 1.403 GB, free: 2.715 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02985/0.4658, allocations: 18.99 MB / 1.422 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.47, allocations: 154.7 kB / 1.422 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.4739, allocations: 1.312 MB / 1.423 GB, free: 14.21 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.4847, allocations: 3.902 MB / 1.427 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005979/0.4907, allocations: 2.194 MB / 1.429 GB, free: 8.117 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.5008, allocations: 6.848 MB / 1.436 GB, free: 1.25 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.5043, allocations: 1.607 MB / 1.437 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007047/0.5113, allocations: 2.724 MB / 1.44 GB, free: 12.87 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.515, allocations: 1.836 MB / 1.442 GB, free: 11.03 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007358/0.5157, allocations: 200 kB / 1.442 GB, free: 10.83 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/0.5205, allocations: 1.762 MB / 1.444 GB, free: 9.066 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.5215, allocations: 0.564 MB / 1.444 GB, free: 8.5 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002968/0.5245, allocations: 1.26 MB / 1.445 GB, free: 7.234 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.5328, allocations: 3.85 MB / 1.449 GB, free: 3.371 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5328, allocations: 0 / 1.449 GB, free: 3.371 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5328, allocations: 4 kB / 1.449 GB, free: 3.367 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001235/0.5329, allocations: 0 / 1.449 GB, free: 3.367 MB / 1.139 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.006229/0.5391, allocations: 2.73 MB / 1.452 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5392, allocations: 8.031 kB / 1.452 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004145/0.5396, allocations: 202.8 kB / 1.452 GB, free: 380 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.5406, allocations: 279.3 kB / 1.452 GB, free: 100 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/0.5451, allocations: 1.974 MB / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.5452, allocations: 110.6 kB / 1.454 GB, free: 13.97 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.5455, allocations: 144 kB / 1.454 GB, free: 13.83 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.5487, allocations: 1.516 MB / 1.456 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.5488, allocations: 11.94 kB / 1.456 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.5489, allocations: 55.94 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.549, allocations: 40 kB / 1.456 GB, free: 12.13 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.5515, allocations: 1.13 MB / 1.457 GB, free: 11 MB / 1.154 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.01048/0.562, allocations: 7.846 MB / 1.465 GB, free: 2.496 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.563, allocations: 444.3 kB / 1.465 GB, free: 2.055 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/0.5636, allocations: 307.7 kB / 1.465 GB, free: 1.754 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/0.564, allocations: 112.4 kB / 1.466 GB, free: 1.645 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.5641, allocations: 43.06 kB / 1.466 GB, free: 1.594 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.806e-06/0.5641, allocations: 0 / 1.466 GB, free: 1.594 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002478/0.5665, allocations: 0.9722 MB / 1.467 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.5666, allocations: 55.91 kB / 1.467 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.5695, allocations: 1.811 MB / 1.468 GB, free: 14.7 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.5696, allocations: 37.7 kB / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009082/0.5705, allocations: 0.953 MB / 1.469 GB, free: 13.7 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.5708, allocations: 226.1 kB / 1.47 GB, free: 13.47 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.5711, allocations: 230.8 kB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5713, allocations: 353.9 kB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.572, allocations: 330.4 kB / 1.47 GB, free: 12.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5731, allocations: 0.6821 MB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.5748, allocations: 1.021 MB / 1.472 GB, free: 10.58 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.5748, allocations: 0 / 1.472 GB, free: 10.58 MB / 1.17 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002602/0.5774, allocations: 1.226 MB / 1.473 GB, free: 9.34 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.5775, allocations: 12 kB / 1.473 GB, free: 9.328 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.5775, allocations: 12.83 kB / 1.473 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.5775, allocations: 16 kB / 1.473 GB, free: 9.301 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5785, allocations: 295.5 kB / 1.474 GB, free: 9.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/0.5786, allocations: 19.94 kB / 1.474 GB, free: 8.992 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.5799, allocations: 170.9 kB / 1.474 GB, free: 8.824 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.58, allocations: 51.98 kB / 1.474 GB, free: 8.773 MB / 1.17 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.0008358/0.5808, allocations: 437.4 kB / 1.474 GB, free: 8.336 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/0.5814, allocations: 202.7 kB / 1.474 GB, free: 8.137 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.5833, allocations: 0.8787 MB / 1.475 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.5834, allocations: 8 kB / 1.475 GB, free: 7.246 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5834, allocations: 0 / 1.475 GB, free: 7.246 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/0.5848, allocations: 0.8096 MB / 1.476 GB, free: 6.387 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/0.5903, allocations: 2.43 MB / 1.478 GB, free: 3.875 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.5903, allocations: 4 kB / 1.478 GB, free: 3.871 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.5911, allocations: 183.7 kB / 1.479 GB, free: 3.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.5911, allocations: 4 kB / 1.479 GB, free: 3.688 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.5912, allocations: 23.92 kB / 1.479 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.5912, allocations: 8.062 kB / 1.479 GB, free: 3.656 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5912, allocations: 7.938 kB / 1.479 GB, free: 3.648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.5939, allocations: 1.363 MB / 1.48 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/0.5948, allocations: 290.4 kB / 1.48 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/0.5952, allocations: 20 kB / 1.48 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5963, allocations: 59.92 kB / 1.48 GB, free: 1.883 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5964, allocations: 56.34 kB / 1.48 GB, free: 1.824 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.049e-05/0.5965, allocations: 35.97 kB / 1.48 GB, free: 1.789 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002359/0.5989, allocations: 1.259 MB / 1.482 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5989, allocations: 0 / 1.482 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002386/0.6013, allocations: 0.6549 MB / 1.482 GB, free: 15.85 MB / 1.186 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.004145/0.6054, allocations: 2.397 MB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.6073, allocations: 0.7883 MB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6073, allocations: 7.938 kB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.608, allocations: 340.2 kB / 1.486 GB, free: 12.29 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005626/0.6136, allocations: 1.192 MB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/0.6364, allocations: 12.69 MB / 1.499 GB, free: 13.9 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.6377, allocations: 1.405 MB / 1.501 GB, free: 12.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001542/0.6393, allocations: 390 kB / 1.501 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.6404, allocations: 0.7687 MB / 1.502 GB, free: 11.32 MB / 1.201 GB Notification: Performance of SimCode: time 1.323e-06/0.6404, allocations: 0 / 1.502 GB, free: 11.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/0.7644, allocations: 58.63 MB / 1.559 GB, free: 1.348 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.09, allocations: 1.547 kB / 1.559 GB, free: 1.348 MB / 1.248 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] 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: 23.010953814024106]