Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00133/0.00133, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001463/0.001463, allocations: 210.7 kB / 22.25 MB, free: 5.137 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.984 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.931/2.931, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.001978/0.001978, allocations: 69.34 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0467/0.3571, allocations: 42.57 MB / 1.394 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.372, allocations: 10.45 MB / 1.405 GB, free: 3.238 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.3736, allocations: 79.31 kB / 1.405 GB, free: 3.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.3754, allocations: 0.6599 MB / 1.405 GB, free: 2.496 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.3803, allocations: 2.023 MB / 1.407 GB, free: 476 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.3832, allocations: 1.237 MB / 1.409 GB, free: 15.24 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004661/0.3879, allocations: 3.495 MB / 1.412 GB, free: 11.74 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.3893, allocations: 0.8185 MB / 1.413 GB, free: 10.9 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.3927, allocations: 1.459 MB / 1.414 GB, free: 9.438 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.3943, allocations: 0.9295 MB / 1.415 GB, free: 8.504 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.3945, allocations: 100 kB / 1.415 GB, free: 8.406 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.3966, allocations: 0.9358 MB / 1.416 GB, free: 7.469 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.397, allocations: 290.8 kB / 1.416 GB, free: 7.184 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009403/0.3979, allocations: 0.6377 MB / 1.417 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.401, allocations: 1.989 MB / 1.419 GB, free: 4.547 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.401, allocations: 3.938 kB / 1.419 GB, free: 4.543 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.292e-06/0.401, allocations: 0 / 1.419 GB, free: 4.543 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.4011, allocations: 0 / 1.419 GB, free: 4.543 MB / 1.107 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.002359/0.4034, allocations: 1.485 MB / 1.42 GB, free: 3.02 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4035, allocations: 12.03 kB / 1.42 GB, free: 3.008 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.4036, allocations: 110.7 kB / 1.421 GB, free: 2.891 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.4039, allocations: 140.1 kB / 1.421 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.4057, allocations: 1.071 MB / 1.422 GB, free: 1.648 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.4057, allocations: 50 kB / 1.422 GB, free: 1.598 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.4058, allocations: 72 kB / 1.422 GB, free: 1.527 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.4071, allocations: 0.7943 MB / 1.423 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4071, allocations: 4 kB / 1.423 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.4072, allocations: 28 kB / 1.423 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.4072, allocations: 20 kB / 1.423 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4083, allocations: 0.5672 MB / 1.423 GB, free: 80 kB / 1.107 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.004166/0.4125, allocations: 3.642 MB / 1.427 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.413, allocations: 242.4 kB / 1.427 GB, free: 11.94 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.4133, allocations: 168.7 kB / 1.427 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.4135, allocations: 55.95 kB / 1.427 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4136, allocations: 38.56 kB / 1.427 GB, free: 11.67 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.4136, allocations: 0 / 1.427 GB, free: 11.67 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001109/0.4147, allocations: 0.5174 MB / 1.428 GB, free: 11.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4147, allocations: 55.41 kB / 1.428 GB, free: 11.08 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4159, allocations: 0.9576 MB / 1.429 GB, free: 10.1 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.4159, allocations: 33.7 kB / 1.429 GB, free: 10.06 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.4163, allocations: 0.5043 MB / 1.429 GB, free: 9.551 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4164, allocations: 119 kB / 1.429 GB, free: 9.434 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.4166, allocations: 122.2 kB / 1.429 GB, free: 9.309 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4167, allocations: 329.8 kB / 1.43 GB, free: 8.98 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.4171, allocations: 161.2 kB / 1.43 GB, free: 8.824 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.4176, allocations: 363.8 kB / 1.43 GB, free: 8.391 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.4184, allocations: 0.5076 MB / 1.431 GB, free: 7.812 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4184, allocations: 4 kB / 1.431 GB, free: 7.809 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001083/0.4195, allocations: 0.6213 MB / 1.431 GB, free: 7.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4195, allocations: 8 kB / 1.431 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4195, allocations: 8.688 kB / 1.431 GB, free: 7.164 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.4195, allocations: 8 kB / 1.431 GB, free: 7.156 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.4199, allocations: 123.8 kB / 1.432 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.4199, allocations: 11.94 kB / 1.432 GB, free: 7.023 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.4205, allocations: 87.38 kB / 1.432 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.4205, allocations: 39.86 kB / 1.432 GB, free: 6.898 MB / 1.123 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.0003371/0.4208, allocations: 269.6 kB / 1.432 GB, free: 6.625 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.421, allocations: 103.3 kB / 1.432 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009349/0.4219, allocations: 498.2 kB / 1.433 GB, free: 6.027 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4219, allocations: 4.062 kB / 1.433 GB, free: 6.023 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.422, allocations: 7.984 kB / 1.433 GB, free: 6.016 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006992/0.4227, allocations: 457.4 kB / 1.433 GB, free: 5.539 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.4247, allocations: 1.351 MB / 1.434 GB, free: 4.125 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4247, allocations: 3.984 kB / 1.434 GB, free: 4.121 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.425, allocations: 71.89 kB / 1.434 GB, free: 4.051 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.425, allocations: 4 kB / 1.434 GB, free: 4.047 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.4251, allocations: 11.94 kB / 1.434 GB, free: 4.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4251, allocations: 4 kB / 1.434 GB, free: 4.031 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4251, allocations: 0 / 1.434 GB, free: 4.031 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.4263, allocations: 0.7839 MB / 1.435 GB, free: 3.219 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.4267, allocations: 167.1 kB / 1.435 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4268, allocations: 8 kB / 1.435 GB, free: 3.047 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.4272, allocations: 27.95 kB / 1.435 GB, free: 3.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.4273, allocations: 27.95 kB / 1.435 GB, free: 2.992 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.4273, allocations: 19.98 kB / 1.435 GB, free: 2.973 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008283/0.4282, allocations: 0.6669 MB / 1.436 GB, free: 2.297 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4282, allocations: 0 / 1.436 GB, free: 2.297 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009085/0.4291, allocations: 347.2 kB / 1.436 GB, free: 1.957 MB / 1.123 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.002024/0.4311, allocations: 1.58 MB / 1.438 GB, free: 344 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008501/0.4319, allocations: 412.2 kB / 1.438 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4319, allocations: 4 kB / 1.438 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.4323, allocations: 173 kB / 1.438 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.4347, allocations: 0.6055 MB / 1.439 GB, free: 15.17 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/0.4439, allocations: 6.87 MB / 1.446 GB, free: 8.004 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.4446, allocations: 1.044 MB / 1.447 GB, free: 6.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006414/0.4452, allocations: 200.8 kB / 1.447 GB, free: 6.734 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.4457, allocations: 371.3 kB / 1.447 GB, free: 6.371 MB / 1.139 GB Notification: Performance of SimCode: time 6.31e-07/0.4457, allocations: 0 / 1.447 GB, free: 6.371 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/0.5155, allocations: 30.29 MB / 1.477 GB, free: 8.43 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.26, allocations: 10.55 kB / 1.477 GB, free: 8.422 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.37404216104187]