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.001472/0.001472, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001642/0.001642, allocations: 218.9 kB / 22.25 MB, free: 5.102 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.805 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.977/2.977, allocations: 0.49 GB / 0.7951 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.001905/0.001905, allocations: 64.27 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2976, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07427/0.3719, allocations: 71.13 MB / 1.395 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.3975, allocations: 17.58 MB / 1.412 GB, free: 8.5 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.4005, allocations: 154.7 kB / 1.413 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.4037, allocations: 1.246 MB / 1.414 GB, free: 7.094 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.4129, allocations: 3.88 MB / 1.418 GB, free: 3.199 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/0.418, allocations: 2.172 MB / 1.42 GB, free: 1.043 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008689/0.4267, allocations: 6.859 MB / 1.426 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/0.4292, allocations: 1.591 MB / 1.428 GB, free: 8.527 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005898/0.4351, allocations: 2.755 MB / 1.431 GB, free: 5.773 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.4382, allocations: 1.844 MB / 1.433 GB, free: 3.922 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004261/0.4386, allocations: 204 kB / 1.433 GB, free: 3.723 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.4421, allocations: 1.341 MB / 1.434 GB, free: 2.379 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.4428, allocations: 0.5601 MB / 1.435 GB, free: 1.816 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.4444, allocations: 1.011 MB / 1.436 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006023/0.4504, allocations: 3.796 MB / 1.439 GB, free: 12.99 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4504, allocations: 4 kB / 1.439 GB, free: 12.99 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4504, allocations: 0 / 1.439 GB, free: 12.99 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.355e-05/0.4505, allocations: 0 / 1.439 GB, free: 12.99 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.004739/0.4552, allocations: 2.719 MB / 1.442 GB, free: 10.22 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4552, allocations: 8.031 kB / 1.442 GB, free: 10.21 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/0.4555, allocations: 202.8 kB / 1.442 GB, free: 10 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/0.4562, allocations: 283.3 kB / 1.442 GB, free: 9.727 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.4599, allocations: 1.983 MB / 1.444 GB, free: 7.703 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.46, allocations: 102.7 kB / 1.444 GB, free: 7.602 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.4602, allocations: 144 kB / 1.445 GB, free: 7.461 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.4631, allocations: 1.827 MB / 1.446 GB, free: 5.484 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.4631, allocations: 3.938 kB / 1.446 GB, free: 5.48 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.4633, allocations: 60 kB / 1.446 GB, free: 5.422 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-05/0.4633, allocations: 40 kB / 1.446 GB, free: 5.383 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.4655, allocations: 1.122 MB / 1.448 GB, free: 4.254 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.007689/0.4732, allocations: 5.336 MB / 1.453 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.4741, allocations: 444.9 kB / 1.453 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.4747, allocations: 310.2 kB / 1.453 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.475, allocations: 108.4 kB / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4751, allocations: 47 kB / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of pre-optimization done (n=59): time 2.274e-06/0.4751, allocations: 0 / 1.454 GB, free: 13.85 MB / 1.154 GB Notification: Performance of matching and sorting (n=59): time 0.002116/0.4772, allocations: 0.9722 MB / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4772, allocations: 63.91 kB / 1.455 GB, free: 12.79 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.4795, allocations: 1.815 MB / 1.456 GB, free: 10.94 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.4796, allocations: 45.7 kB / 1.456 GB, free: 10.89 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/0.4804, allocations: 0.9567 MB / 1.457 GB, free: 9.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.4806, allocations: 230 kB / 1.458 GB, free: 9.703 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.4809, allocations: 222.8 kB / 1.458 GB, free: 9.48 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.481, allocations: 353.9 kB / 1.458 GB, free: 9.129 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006684/0.4817, allocations: 330.4 kB / 1.458 GB, free: 8.805 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.4828, allocations: 0.966 MB / 1.459 GB, free: 7.617 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.4844, allocations: 1.013 MB / 1.46 GB, free: 6.469 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.4844, allocations: 4 kB / 1.46 GB, free: 6.465 MB / 1.154 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002256/0.4867, allocations: 1.227 MB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4867, allocations: 12 kB / 1.462 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4867, allocations: 12 kB / 1.462 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.4867, allocations: 16 kB / 1.462 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009828/0.4877, allocations: 295.5 kB / 1.462 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.4877, allocations: 19.94 kB / 1.462 GB, free: 4.879 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4888, allocations: 162.9 kB / 1.462 GB, free: 4.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.4889, allocations: 51.98 kB / 1.462 GB, free: 4.668 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.0006516/0.4896, allocations: 445.2 kB / 1.463 GB, free: 4.223 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.4899, allocations: 202.7 kB / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.4916, allocations: 0.8828 MB / 1.464 GB, free: 3.133 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.4916, allocations: 8 kB / 1.464 GB, free: 3.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4917, allocations: 0 / 1.464 GB, free: 3.125 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/0.493, allocations: 0.8018 MB / 1.464 GB, free: 2.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.4968, allocations: 2.235 MB / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4968, allocations: 0 / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.4976, allocations: 188 kB / 1.467 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.4976, allocations: 7.938 kB / 1.467 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.4976, allocations: 16 kB / 1.467 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.4977, allocations: 7.984 kB / 1.467 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4977, allocations: 7.938 kB / 1.467 GB, free: 15.73 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.5, allocations: 1.355 MB / 1.468 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.5007, allocations: 302.4 kB / 1.468 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.5009, allocations: 16 kB / 1.468 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/0.5018, allocations: 63.91 kB / 1.468 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5019, allocations: 60.42 kB / 1.469 GB, free: 13.9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.502, allocations: 39.91 kB / 1.469 GB, free: 13.86 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001644/0.5036, allocations: 1.251 MB / 1.47 GB, free: 12.59 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5036, allocations: 4 kB / 1.47 GB, free: 12.59 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001587/0.5052, allocations: 0.6626 MB / 1.47 GB, free: 11.93 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.003513/0.5087, allocations: 2.393 MB / 1.473 GB, free: 9.484 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.5103, allocations: 0.7815 MB / 1.474 GB, free: 8.711 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5103, allocations: 8 kB / 1.474 GB, free: 8.703 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.511, allocations: 334.6 kB / 1.474 GB, free: 8.379 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.5155, allocations: 1.201 MB / 1.475 GB, free: 7.195 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.5343, allocations: 12.69 MB / 1.487 GB, free: 9.984 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/0.5352, allocations: 0.8359 MB / 1.488 GB, free: 9.109 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001324/0.5365, allocations: 382 kB / 1.489 GB, free: 8.742 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.5375, allocations: 0.7687 MB / 1.489 GB, free: 7.973 MB / 1.186 GB Notification: Performance of SimCode: time 9.32e-07/0.5375, allocations: 4 kB / 1.489 GB, free: 7.969 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.6471, allocations: 63.48 MB / 1.551 GB, free: 9.574 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.21, allocations: 6.609 kB / 1.551 GB, free: 9.57 MB / 1.248 GB " [Timeout remaining time 287] (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: 19.511064694001107]