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.001276/0.001276, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001351/0.001351, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.448/1.448, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.842/2.842, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] 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.002014/0.002014, allocations: 71.89 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08972/1.122, allocations: 78.2 MB / 1.417 GB, free: 8.219 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03485/1.156, allocations: 18.92 MB / 1.435 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006412/1.163, allocations: 152.8 kB / 1.435 GB, free: 10.32 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/1.168, allocations: 1.304 MB / 1.436 GB, free: 9.223 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/1.182, allocations: 3.823 MB / 1.44 GB, free: 6.191 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006946/1.188, allocations: 2.092 MB / 1.442 GB, free: 4.566 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01295/1.201, allocations: 6.695 MB / 1.449 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/1.206, allocations: 1.702 MB / 1.45 GB, free: 15.4 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008922/1.215, allocations: 2.709 MB / 1.453 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/1.219, allocations: 1.835 MB / 1.455 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009381/1.22, allocations: 199.9 kB / 1.455 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00584/1.226, allocations: 1.717 MB / 1.457 GB, free: 11.73 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/1.227, allocations: 0.5665 MB / 1.457 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003745/1.231, allocations: 1.259 MB / 1.458 GB, free: 10.45 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/1.241, allocations: 3.862 MB / 1.462 GB, free: 7.891 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.241, allocations: 7.938 kB / 1.462 GB, free: 7.883 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.234e-06/1.241, allocations: 0 / 1.462 GB, free: 7.883 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001584/1.241, allocations: 0 / 1.462 GB, free: 7.883 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.008106/1.25, allocations: 2.791 MB / 1.465 GB, free: 5.797 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.25, allocations: 9.344 kB / 1.465 GB, free: 5.797 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.197e-05/1.25, allocations: 35.2 kB / 1.465 GB, free: 5.793 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004609/1.25, allocations: 198.9 kB / 1.465 GB, free: 5.637 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/1.251, allocations: 289.8 kB / 1.465 GB, free: 5.488 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/1.256, allocations: 2.052 MB / 1.467 GB, free: 3.941 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/1.256, allocations: 109.3 kB / 1.468 GB, free: 3.891 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003823/1.257, allocations: 143.3 kB / 1.468 GB, free: 3.844 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/1.261, allocations: 1.518 MB / 1.469 GB, free: 2.875 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/1.261, allocations: 10.09 kB / 1.469 GB, free: 2.867 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/1.261, allocations: 62.27 kB / 1.469 GB, free: 2.82 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.404e-05/1.261, allocations: 35.59 kB / 1.469 GB, free: 2.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/1.264, allocations: 1.129 MB / 1.47 GB, free: 2.25 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.01203/1.276, allocations: 7.934 MB / 1.478 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.277, allocations: 441.1 kB / 1.479 GB, free: 9.758 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/1.278, allocations: 314.3 kB / 1.479 GB, free: 9.449 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.279, allocations: 1.156 MB / 1.48 GB, free: 8.031 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.279, allocations: 47.16 kB / 1.48 GB, free: 7.977 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/1.279, allocations: 3.938 kB / 1.48 GB, free: 7.973 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.003046/1.282, allocations: 0.9701 MB / 1.481 GB, free: 7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/1.282, allocations: 59.97 kB / 1.481 GB, free: 6.93 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/1.286, allocations: 1.795 MB / 1.483 GB, free: 5.098 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.286, allocations: 45.7 kB / 1.483 GB, free: 5.047 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.287, allocations: 0.9451 MB / 1.484 GB, free: 4.094 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/1.287, allocations: 234.1 kB / 1.484 GB, free: 3.863 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/1.288, allocations: 222.8 kB / 1.484 GB, free: 3.641 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.288, allocations: 353.9 kB / 1.485 GB, free: 3.289 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/1.289, allocations: 330.4 kB / 1.485 GB, free: 2.965 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.29, allocations: 0.6977 MB / 1.486 GB, free: 2.113 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/1.292, allocations: 1.001 MB / 1.487 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.292, allocations: 4 kB / 1.487 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002942/1.295, allocations: 1.231 MB / 1.488 GB, free: 15.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.295, allocations: 8 kB / 1.488 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.295, allocations: 8 kB / 1.488 GB, free: 15.72 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/1.295, allocations: 19.94 kB / 1.488 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.296, allocations: 287.8 kB / 1.488 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.143e-05/1.296, allocations: 31.86 kB / 1.488 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.298, allocations: 166.9 kB / 1.488 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.298, allocations: 48 kB / 1.488 GB, free: 15.18 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.0009857/1.299, allocations: 445.3 kB / 1.489 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/1.3, allocations: 202.7 kB / 1.489 GB, free: 14.53 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/1.302, allocations: 0.8648 MB / 1.49 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.302, allocations: 11.98 kB / 1.49 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.302, allocations: 0 / 1.49 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/1.303, allocations: 0.7879 MB / 1.491 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/1.309, allocations: 2.471 MB / 1.493 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.309, allocations: 4 kB / 1.493 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.31, allocations: 184 kB / 1.493 GB, free: 10.08 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.31, allocations: 4 kB / 1.493 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/1.31, allocations: 16 kB / 1.493 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/1.31, allocations: 11.88 kB / 1.493 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.31, allocations: 0 / 1.493 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/1.313, allocations: 1.353 MB / 1.494 GB, free: 8.648 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.314, allocations: 371.6 kB / 1.495 GB, free: 8.266 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000589/1.315, allocations: 16 kB / 1.495 GB, free: 8.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.316, allocations: 67.89 kB / 1.495 GB, free: 8.184 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.316, allocations: 44.5 kB / 1.495 GB, free: 8.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.317, allocations: 43.91 kB / 1.495 GB, free: 8.098 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002341/1.319, allocations: 1.248 MB / 1.496 GB, free: 6.832 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.319, allocations: 0 / 1.496 GB, free: 6.832 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002737/1.322, allocations: 0.6665 MB / 1.497 GB, free: 6.164 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.00481/1.326, allocations: 2.375 MB / 1.499 GB, free: 3.738 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.328, allocations: 0.7771 MB / 1.5 GB, free: 2.965 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.328, allocations: 4 kB / 1.5 GB, free: 2.961 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007813/1.329, allocations: 334.9 kB / 1.5 GB, free: 2.633 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006898/1.336, allocations: 1.201 MB / 1.501 GB, free: 1.453 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/1.362, allocations: 12.68 MB / 1.514 GB, free: 4.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/1.363, allocations: 1.405 MB / 1.515 GB, free: 2.812 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001769/1.365, allocations: 381.1 kB / 1.516 GB, free: 2.445 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.366, allocations: 0.7609 MB / 1.516 GB, free: 1.684 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/1.366, allocations: 0 / 1.516 GB, free: 1.684 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.478, allocations: 57.9 MB / 1.573 GB, free: 8.418 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.52, allocations: 10.11 kB / 1.573 GB, free: 8.41 MB / 1.248 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.070646314998157]