Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001954/0.001954, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002233/0.002233, allocations: 219.8 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.402/1.402, 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 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.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_12_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.003346/0.003346, allocations: 71.19 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3675, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04708/0.4146, allocations: 42.56 MB / 1.368 GB, free: 7.223 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.4316, allocations: 10.46 MB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.4343, allocations: 79.31 kB / 1.379 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.4365, allocations: 0.6638 MB / 1.379 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.4427, allocations: 2.026 MB / 1.381 GB, free: 9.957 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.4461, allocations: 1.232 MB / 1.382 GB, free: 8.734 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005484/0.4516, allocations: 3.496 MB / 1.386 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.4532, allocations: 0.8107 MB / 1.387 GB, free: 4.395 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.4574, allocations: 1.461 MB / 1.388 GB, free: 2.934 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.4593, allocations: 0.9217 MB / 1.389 GB, free: 2.008 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.4595, allocations: 100 kB / 1.389 GB, free: 1.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.462, allocations: 0.9397 MB / 1.39 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.4624, allocations: 290.8 kB / 1.39 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009894/0.4634, allocations: 0.6376 MB / 1.391 GB, free: 44 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.4671, allocations: 1.985 MB / 1.393 GB, free: 14.05 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4671, allocations: 0 / 1.393 GB, free: 14.05 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4671, allocations: 0 / 1.393 GB, free: 14.05 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.4671, allocations: 4 kB / 1.393 GB, free: 14.05 MB / 1.092 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.00287/0.47, allocations: 1.481 MB / 1.394 GB, free: 12.53 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.47, allocations: 8.031 kB / 1.394 GB, free: 12.52 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.848e-05/0.4701, allocations: 22.19 kB / 1.394 GB, free: 12.5 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.4702, allocations: 122.7 kB / 1.394 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.4706, allocations: 140.1 kB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.4727, allocations: 1.063 MB / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.4728, allocations: 54 kB / 1.396 GB, free: 11.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.4729, allocations: 68 kB / 1.396 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.4743, allocations: 0.7982 MB / 1.396 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.4744, allocations: 7.953 kB / 1.396 GB, free: 10.17 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.4744, allocations: 24 kB / 1.396 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.4745, allocations: 23.98 kB / 1.396 GB, free: 10.12 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4756, allocations: 0.5672 MB / 1.397 GB, free: 9.559 MB / 1.092 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.004908/0.4805, allocations: 3.646 MB / 1.401 GB, free: 5.664 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.4812, allocations: 238.4 kB / 1.401 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.4815, allocations: 172.7 kB / 1.401 GB, free: 5.25 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.4818, allocations: 55.95 kB / 1.401 GB, free: 5.195 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4818, allocations: 38.56 kB / 1.401 GB, free: 5.148 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.4818, allocations: 0 / 1.401 GB, free: 5.148 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001377/0.4832, allocations: 0.5169 MB / 1.402 GB, free: 4.625 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4832, allocations: 55.41 kB / 1.402 GB, free: 4.559 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.4846, allocations: 0.9576 MB / 1.403 GB, free: 3.582 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.4847, allocations: 33.7 kB / 1.403 GB, free: 3.543 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/0.4851, allocations: 0.4966 MB / 1.403 GB, free: 3.043 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4853, allocations: 126.9 kB / 1.403 GB, free: 2.918 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.4855, allocations: 122.2 kB / 1.403 GB, free: 2.789 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4856, allocations: 329.9 kB / 1.404 GB, free: 2.461 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.486, allocations: 161.2 kB / 1.404 GB, free: 2.305 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.4866, allocations: 351.8 kB / 1.404 GB, free: 1.883 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.4874, allocations: 0.5116 MB / 1.405 GB, free: 1.301 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4875, allocations: 4 kB / 1.405 GB, free: 1.297 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001318/0.4888, allocations: 0.6254 MB / 1.405 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4888, allocations: 13.66 kB / 1.405 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4888, allocations: 11.98 kB / 1.405 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.4888, allocations: 8 kB / 1.405 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.4893, allocations: 120.3 kB / 1.405 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.4893, allocations: 15.94 kB / 1.405 GB, free: 0.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.49, allocations: 91.34 kB / 1.405 GB, free: 420 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.49, allocations: 27.98 kB / 1.405 GB, free: 392 kB / 1.092 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.0004395/0.4905, allocations: 269.7 kB / 1.406 GB, free: 112 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4906, allocations: 103.3 kB / 1.406 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.4917, allocations: 0.4914 MB / 1.406 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.4917, allocations: 4.062 kB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4917, allocations: 4 kB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008143/0.4926, allocations: 461.3 kB / 1.407 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.4949, allocations: 1.335 MB / 1.408 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4949, allocations: 4.094 kB / 1.408 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.4953, allocations: 87.81 kB / 1.408 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4953, allocations: 4 kB / 1.408 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.4953, allocations: 8 kB / 1.408 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4953, allocations: 4 kB / 1.408 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4953, allocations: 0 / 1.408 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.4968, allocations: 0.7801 MB / 1.409 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.4972, allocations: 163.2 kB / 1.409 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4973, allocations: 8 kB / 1.409 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.4978, allocations: 27.95 kB / 1.409 GB, free: 12.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.4979, allocations: 27.95 kB / 1.409 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.4979, allocations: 19.98 kB / 1.409 GB, free: 12.46 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009321/0.4988, allocations: 0.6707 MB / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.4988, allocations: 0 / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001104/0.4999, allocations: 351.2 kB / 1.41 GB, free: 11.44 MB / 1.107 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.002313/0.5023, allocations: 1.587 MB / 1.412 GB, free: 9.812 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000966/0.5032, allocations: 404.3 kB / 1.412 GB, free: 9.418 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5032, allocations: 0 / 1.412 GB, free: 9.418 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.5036, allocations: 171.8 kB / 1.412 GB, free: 9.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.5065, allocations: 0.611 MB / 1.413 GB, free: 8.656 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5176, allocations: 6.878 MB / 1.42 GB, free: 1.48 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.5183, allocations: 1.036 MB / 1.421 GB, free: 424 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009491/0.5193, allocations: 205.2 kB / 1.421 GB, free: 220 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.5198, allocations: 379.4 kB / 1.421 GB, free: 15.84 MB / 1.123 GB Notification: Performance of SimCode: time 1.182e-06/0.5198, allocations: 0 / 1.421 GB, free: 15.84 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06923/0.589, allocations: 30.32 MB / 1.451 GB, free: 1.961 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.71, allocations: 3.75 kB / 1.451 GB, free: 1.961 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.658864322991576]