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.001143/0.001143, allocations: 113.5 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.001288/0.001288, allocations: 217.5 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.908/2.908, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_latest_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.001788/0.001788, allocations: 60.25 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3005, allocations: 179 MB / 1.345 GB, free: 408 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04345/0.344, allocations: 42.57 MB / 1.387 GB, free: 5.676 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.3593, allocations: 10.45 MB / 1.397 GB, free: 11.2 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.3609, allocations: 83.31 kB / 1.397 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.3625, allocations: 0.6638 MB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.3674, allocations: 2.023 MB / 1.4 GB, free: 8.414 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.3705, allocations: 1.241 MB / 1.401 GB, free: 7.184 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004826/0.3753, allocations: 3.501 MB / 1.404 GB, free: 3.672 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.3765, allocations: 0.8107 MB / 1.405 GB, free: 2.84 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003224/0.3798, allocations: 1.453 MB / 1.407 GB, free: 1.387 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.381, allocations: 0.9217 MB / 1.408 GB, free: 472 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.3812, allocations: 100 kB / 1.408 GB, free: 372 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.3832, allocations: 0.9398 MB / 1.409 GB, free: 15.42 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.3835, allocations: 290.8 kB / 1.409 GB, free: 15.14 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.3841, allocations: 0.6337 MB / 1.409 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.3867, allocations: 1.993 MB / 1.411 GB, free: 12.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3868, allocations: 0 / 1.411 GB, free: 12.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3868, allocations: 0 / 1.411 GB, free: 12.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3868, allocations: 0 / 1.411 GB, free: 12.5 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.002362/0.3891, allocations: 1.481 MB / 1.413 GB, free: 10.98 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3892, allocations: 8.031 kB / 1.413 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.124e-05/0.3892, allocations: 22.19 kB / 1.413 GB, free: 10.95 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.3893, allocations: 122.7 kB / 1.413 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.3897, allocations: 144.1 kB / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.3914, allocations: 1.066 MB / 1.414 GB, free: 9.586 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.3915, allocations: 57.94 kB / 1.414 GB, free: 9.527 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3916, allocations: 72 kB / 1.414 GB, free: 9.457 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3929, allocations: 0.7866 MB / 1.415 GB, free: 8.637 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3929, allocations: 7.984 kB / 1.415 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.393, allocations: 28 kB / 1.415 GB, free: 8.602 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.393, allocations: 20 kB / 1.415 GB, free: 8.582 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3941, allocations: 0.5633 MB / 1.416 GB, free: 8.02 MB / 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.004065/0.3982, allocations: 3.646 MB / 1.419 GB, free: 4.121 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.3988, allocations: 246.4 kB / 1.419 GB, free: 3.871 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.3991, allocations: 172.7 kB / 1.42 GB, free: 3.699 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.3993, allocations: 55.95 kB / 1.42 GB, free: 3.645 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3994, allocations: 38.56 kB / 1.42 GB, free: 3.598 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.3994, allocations: 0 / 1.42 GB, free: 3.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001174/0.4005, allocations: 0.5174 MB / 1.42 GB, free: 3.074 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.4006, allocations: 59.34 kB / 1.42 GB, free: 3.004 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4017, allocations: 0.9576 MB / 1.421 GB, free: 2.027 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.4018, allocations: 33.7 kB / 1.421 GB, free: 1.988 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.4022, allocations: 0.4966 MB / 1.422 GB, free: 1.484 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4023, allocations: 126.9 kB / 1.422 GB, free: 1.359 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4025, allocations: 114.3 kB / 1.422 GB, free: 1.242 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4026, allocations: 333.9 kB / 1.422 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.403, allocations: 161.2 kB / 1.422 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.4034, allocations: 355.8 kB / 1.423 GB, free: 336 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.4043, allocations: 0.5078 MB / 1.423 GB, free: 15.75 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4043, allocations: 0 / 1.423 GB, free: 15.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001084/0.4054, allocations: 0.6254 MB / 1.424 GB, free: 15.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4054, allocations: 11.98 kB / 1.424 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4054, allocations: 4 kB / 1.424 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4054, allocations: 8 kB / 1.424 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.4058, allocations: 127.8 kB / 1.424 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.4059, allocations: 12.38 kB / 1.424 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.4064, allocations: 95.31 kB / 1.424 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.4064, allocations: 31.98 kB / 1.424 GB, free: 14.83 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.0003249/0.4068, allocations: 265.7 kB / 1.424 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.4069, allocations: 103.3 kB / 1.425 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/0.4079, allocations: 0.4887 MB / 1.425 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4079, allocations: 4 kB / 1.425 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4079, allocations: 0 / 1.425 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007311/0.4086, allocations: 461.2 kB / 1.425 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4107, allocations: 1.339 MB / 1.427 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4107, allocations: 3.938 kB / 1.427 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.411, allocations: 80.03 kB / 1.427 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.411, allocations: 4 kB / 1.427 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.411, allocations: 8 kB / 1.427 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.411, allocations: 4 kB / 1.427 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.411, allocations: 0 / 1.427 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4123, allocations: 0.7762 MB / 1.428 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.4126, allocations: 159.1 kB / 1.428 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4127, allocations: 16.06 kB / 1.428 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.4132, allocations: 31.89 kB / 1.428 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.4132, allocations: 36 kB / 1.428 GB, free: 10.94 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.4133, allocations: 23.98 kB / 1.428 GB, free: 10.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008363/0.4141, allocations: 0.659 MB / 1.428 GB, free: 10.25 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4141, allocations: 0 / 1.428 GB, free: 10.25 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009272/0.4151, allocations: 347.2 kB / 1.429 GB, free: 9.906 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.002074/0.4171, allocations: 1.578 MB / 1.43 GB, free: 8.289 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008588/0.418, allocations: 416.2 kB / 1.431 GB, free: 7.883 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.418, allocations: 0 / 1.431 GB, free: 7.883 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.4184, allocations: 175.8 kB / 1.431 GB, free: 7.711 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.4208, allocations: 0.6059 MB / 1.432 GB, free: 7.117 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009337/0.4302, allocations: 6.882 MB / 1.438 GB, free: 15.94 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.4309, allocations: 1.04 MB / 1.439 GB, free: 14.87 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006675/0.4315, allocations: 197.8 kB / 1.439 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.432, allocations: 371.3 kB / 1.44 GB, free: 14.31 MB / 1.139 GB Notification: Performance of SimCode: time 7.41e-07/0.432, allocations: 8 kB / 1.44 GB, free: 14.3 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.4937, allocations: 30.31 MB / 1.469 GB, free: 360 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.42, allocations: 12.14 kB / 1.469 GB, free: 352 kB / 1.154 GB " [Timeout remaining time 287] (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.63695984199876]