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.001591/0.001591, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001818/0.001818, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.865/2.865, allocations: 0.49 GB / 0.7923 GB, free: 1.453 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_12_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.002009/0.002009, allocations: 63.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9999/1.002, allocations: 176.1 MB / 1.321 GB, free: 24.9 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07612/1.078, allocations: 78.19 MB / 1.398 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03267/1.111, allocations: 18.92 MB / 1.416 GB, free: 3.266 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005569/1.116, allocations: 157.5 kB / 1.416 GB, free: 3.18 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004655/1.121, allocations: 1.303 MB / 1.418 GB, free: 2.406 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01283/1.134, allocations: 3.817 MB / 1.421 GB, free: 148 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006996/1.141, allocations: 2.108 MB / 1.424 GB, free: 14.95 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01271/1.153, allocations: 6.692 MB / 1.43 GB, free: 11.71 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004664/1.158, allocations: 1.711 MB / 1.432 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00843/1.167, allocations: 2.694 MB / 1.434 GB, free: 9.578 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/1.171, allocations: 1.842 MB / 1.436 GB, free: 8.754 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001033/1.172, allocations: 198.8 kB / 1.436 GB, free: 8.754 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006264/1.179, allocations: 1.719 MB / 1.438 GB, free: 7.926 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/1.18, allocations: 0.5672 MB / 1.439 GB, free: 7.473 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003546/1.184, allocations: 1.255 MB / 1.44 GB, free: 6.648 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00942/1.193, allocations: 3.861 MB / 1.444 GB, free: 4.094 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.193, allocations: 0 / 1.444 GB, free: 4.094 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.512e-06/1.193, allocations: 0 / 1.444 GB, free: 4.094 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001461/1.193, allocations: 1.156 kB / 1.444 GB, free: 4.094 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.007665/1.201, allocations: 2.79 MB / 1.446 GB, free: 2.008 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.201, allocations: 18.14 kB / 1.446 GB, free: 2 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.757e-05/1.201, allocations: 35.39 kB / 1.446 GB, free: 1.996 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003462/1.201, allocations: 206.7 kB / 1.447 GB, free: 1.832 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.202, allocations: 281.8 kB / 1.447 GB, free: 1.691 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/1.206, allocations: 2.054 MB / 1.449 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/1.206, allocations: 113.5 kB / 1.449 GB, free: 92 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/1.207, allocations: 143 kB / 1.449 GB, free: 44 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/1.209, allocations: 1.511 MB / 1.451 GB, free: 15.08 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.209, allocations: 5.281 kB / 1.451 GB, free: 15.07 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/1.21, allocations: 58.34 kB / 1.451 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/1.21, allocations: 44.42 kB / 1.451 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/1.212, allocations: 1.125 MB / 1.452 GB, free: 14.46 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.009959/1.222, allocations: 7.938 MB / 1.459 GB, free: 7.203 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/1.223, allocations: 450.1 kB / 1.46 GB, free: 6.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/1.224, allocations: 312.1 kB / 1.46 GB, free: 6.828 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.225, allocations: 1.158 MB / 1.461 GB, free: 5.465 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/1.225, allocations: 39.38 kB / 1.461 GB, free: 5.422 MB / 1.139 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/1.225, allocations: 3.938 kB / 1.461 GB, free: 5.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=59): time 0.002631/1.227, allocations: 0.9734 MB / 1.462 GB, free: 4.938 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/1.227, allocations: 61.97 kB / 1.462 GB, free: 4.871 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/1.23, allocations: 1.798 MB / 1.464 GB, free: 3.875 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.23, allocations: 43.11 kB / 1.464 GB, free: 3.832 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.231, allocations: 0.9527 MB / 1.465 GB, free: 2.988 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/1.231, allocations: 222.4 kB / 1.465 GB, free: 2.797 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/1.232, allocations: 226.4 kB / 1.466 GB, free: 2.664 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.232, allocations: 347.4 kB / 1.466 GB, free: 2.328 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/1.233, allocations: 332.9 kB / 1.466 GB, free: 2.168 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/1.234, allocations: 0.6991 MB / 1.467 GB, free: 1.539 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.236, allocations: 1.001 MB / 1.468 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/1.236, allocations: 3.438 kB / 1.468 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002566/1.238, allocations: 1.227 MB / 1.469 GB, free: 164 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.238, allocations: 9.031 kB / 1.469 GB, free: 164 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.238, allocations: 13.97 kB / 1.469 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.238, allocations: 16 kB / 1.469 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.239, allocations: 292.5 kB / 1.469 GB, free: 80 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/1.239, allocations: 23.64 kB / 1.469 GB, free: 72 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.241, allocations: 173.6 kB / 1.47 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.241, allocations: 51.55 kB / 1.47 GB, free: 15.94 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.0007906/1.242, allocations: 448.6 kB / 1.47 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/1.242, allocations: 201.4 kB / 1.47 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.244, allocations: 0.8718 MB / 1.471 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.244, allocations: 7.984 kB / 1.471 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.244, allocations: 0 / 1.471 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/1.245, allocations: 0.7918 MB / 1.472 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/1.25, allocations: 2.455 MB / 1.474 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.25, allocations: 7.984 kB / 1.474 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/1.251, allocations: 183.9 kB / 1.474 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.251, allocations: 11.98 kB / 1.474 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/1.251, allocations: 16 kB / 1.474 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.251, allocations: 4 kB / 1.474 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.251, allocations: 3.938 kB / 1.474 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/1.254, allocations: 1.349 MB / 1.476 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/1.255, allocations: 371.6 kB / 1.476 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/1.255, allocations: 15.94 kB / 1.476 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.256, allocations: 67.86 kB / 1.476 GB, free: 9.402 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.256, allocations: 48.48 kB / 1.476 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/1.256, allocations: 39.92 kB / 1.476 GB, free: 9.316 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001944/1.258, allocations: 1.248 MB / 1.478 GB, free: 8.051 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.258, allocations: 0 / 1.478 GB, free: 8.051 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002233/1.26, allocations: 0.6665 MB / 1.478 GB, free: 7.383 MB / 1.154 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.00405/1.264, allocations: 2.378 MB / 1.481 GB, free: 4.957 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.266, allocations: 0.773 MB / 1.481 GB, free: 4.18 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.266, allocations: 4.625 kB / 1.481 GB, free: 4.176 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007366/1.267, allocations: 338.9 kB / 1.482 GB, free: 3.848 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005799/1.273, allocations: 1.201 MB / 1.483 GB, free: 2.668 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.294, allocations: 12.67 MB / 1.495 GB, free: 5.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.295, allocations: 1.413 MB / 1.497 GB, free: 4.035 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001469/1.296, allocations: 376.2 kB / 1.497 GB, free: 3.672 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.297, allocations: 0.7726 MB / 1.498 GB, free: 2.898 MB / 1.17 GB Notification: Performance of SimCode: time 1.012e-06/1.297, allocations: 4 kB / 1.498 GB, free: 2.895 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.408, allocations: 57.88 MB / 1.554 GB, free: 9.637 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.66, allocations: 13.94 kB / 1.554 GB, free: 9.629 MB / 1.232 GB " [Timeout remaining time 286] (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: 20.335144011012744]