Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001254/0.001254, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001439/0.001439, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.658/2.658, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.002035/0.002035, allocations: 63.53 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04846/0.4001, allocations: 42.49 MB / 1.326 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.4167, allocations: 10.44 MB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.419, allocations: 79.31 kB / 1.336 GB, free: 6.547 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.4211, allocations: 0.6716 MB / 1.337 GB, free: 5.871 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00571/0.4268, allocations: 2.015 MB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.4303, allocations: 1.237 MB / 1.34 GB, free: 2.621 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005549/0.4359, allocations: 3.49 MB / 1.343 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.4376, allocations: 0.8146 MB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.4411, allocations: 1.281 MB / 1.345 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.4429, allocations: 0.9373 MB / 1.346 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.4431, allocations: 104 kB / 1.346 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.4456, allocations: 0.9435 MB / 1.347 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.446, allocations: 290.8 kB / 1.347 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.4469, allocations: 0.6298 MB / 1.348 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.4507, allocations: 1.985 MB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4507, allocations: 0 / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4507, allocations: 0 / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.4507, allocations: 0 / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002952/0.4537, allocations: 1.481 MB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4537, allocations: 8.031 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.789e-05/0.4538, allocations: 18.19 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.4539, allocations: 118.7 kB / 1.352 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.4543, allocations: 144.1 kB / 1.352 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4562, allocations: 1.051 MB / 1.353 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.4563, allocations: 50 kB / 1.353 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4564, allocations: 72 kB / 1.353 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4579, allocations: 0.7943 MB / 1.354 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.4579, allocations: 4 kB / 1.354 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.4579, allocations: 28 kB / 1.354 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.458, allocations: 27.98 kB / 1.354 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4591, allocations: 0.5633 MB / 1.354 GB, free: 3.641 MB / 1.045 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.004462/0.4636, allocations: 3.487 MB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.4642, allocations: 242.9 kB / 1.358 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.4646, allocations: 167.1 kB / 1.358 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.4648, allocations: 68.33 kB / 1.358 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4649, allocations: 38.56 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.4649, allocations: 0 / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=31): time 0.00127/0.4661, allocations: 0.5202 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.4662, allocations: 59.41 kB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4674, allocations: 0.9534 MB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.4675, allocations: 37.7 kB / 1.36 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.468, allocations: 0.4927 MB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.4681, allocations: 122.9 kB / 1.36 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.4683, allocations: 114.3 kB / 1.36 GB, free: 13.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4684, allocations: 329.9 kB / 1.361 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.4688, allocations: 169.2 kB / 1.361 GB, free: 12.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.4693, allocations: 347.8 kB / 1.361 GB, free: 12.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008711/0.4702, allocations: 0.5109 MB / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4702, allocations: 3.938 kB / 1.362 GB, free: 11.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001231/0.4714, allocations: 0.6219 MB / 1.362 GB, free: 10.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4715, allocations: 8 kB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4715, allocations: 4 kB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4715, allocations: 8 kB / 1.362 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.4719, allocations: 123.8 kB / 1.362 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.472, allocations: 11.94 kB / 1.362 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.4726, allocations: 83.58 kB / 1.363 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.4726, allocations: 32 kB / 1.363 GB, free: 10.68 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004174/0.473, allocations: 277.6 kB / 1.363 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.4732, allocations: 103.3 kB / 1.363 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4743, allocations: 491.6 kB / 1.363 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4743, allocations: 8 kB / 1.363 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4743, allocations: 0 / 1.363 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007851/0.4751, allocations: 469 kB / 1.364 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.4773, allocations: 1.339 MB / 1.365 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4773, allocations: 7.922 kB / 1.365 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.4776, allocations: 75.89 kB / 1.365 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4777, allocations: 7.938 kB / 1.365 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.4777, allocations: 16.14 kB / 1.365 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4777, allocations: 4 kB / 1.365 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4777, allocations: 3.938 kB / 1.365 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4791, allocations: 0.7733 MB / 1.366 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.4794, allocations: 159.1 kB / 1.366 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4795, allocations: 11.98 kB / 1.366 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.48, allocations: 28.03 kB / 1.366 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.4801, allocations: 27.95 kB / 1.366 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.4801, allocations: 19.98 kB / 1.366 GB, free: 6.742 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009186/0.4811, allocations: 0.6628 MB / 1.367 GB, free: 6.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4811, allocations: 0 / 1.367 GB, free: 6.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001024/0.4821, allocations: 343.3 kB / 1.367 GB, free: 5.734 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002455/0.4845, allocations: 1.584 MB / 1.369 GB, free: 4.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.4856, allocations: 408.2 kB / 1.369 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4856, allocations: 0 / 1.369 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.486, allocations: 184.8 kB / 1.369 GB, free: 3.531 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.4887, allocations: 0.6069 MB / 1.37 GB, free: 2.941 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.4995, allocations: 6.859 MB / 1.377 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.5003, allocations: 1.036 MB / 1.378 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008622/0.5012, allocations: 199.3 kB / 1.378 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.5017, allocations: 379.2 kB / 1.378 GB, free: 10.15 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/0.5017, allocations: 0 / 1.378 GB, free: 10.15 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06474/0.5664, allocations: 30.27 MB / 1.408 GB, free: 12.31 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.89, allocations: 20.47 kB / 1.408 GB, free: 12.3 MB / 1.107 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.547155426989775]