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.001433/0.001433, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001577/0.001577, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.789 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.972/2.972, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.001988/0.001988, allocations: 68.69 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04238/0.3457, allocations: 38.49 MB / 1.401 GB, free: 7.441 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.3605, allocations: 9.665 MB / 1.41 GB, free: 13.75 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.3617, allocations: 79.31 kB / 1.41 GB, free: 13.68 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.3631, allocations: 0.6365 MB / 1.411 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.3673, allocations: 2.016 MB / 1.413 GB, free: 11.01 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.3698, allocations: 1.211 MB / 1.414 GB, free: 9.812 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003869/0.3737, allocations: 3.453 MB / 1.418 GB, free: 6.348 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3749, allocations: 0.8068 MB / 1.418 GB, free: 5.52 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.378, allocations: 1.467 MB / 1.42 GB, free: 4.051 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.3794, allocations: 0.8749 MB / 1.421 GB, free: 3.172 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.3796, allocations: 100 kB / 1.421 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.3812, allocations: 0.7173 MB / 1.422 GB, free: 2.355 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.3815, allocations: 294.7 kB / 1.422 GB, free: 2.066 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007358/0.3822, allocations: 0.5094 MB / 1.422 GB, free: 1.555 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.3849, allocations: 1.954 MB / 1.424 GB, free: 15.59 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3849, allocations: 8 kB / 1.424 GB, free: 15.59 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3849, allocations: 0 / 1.424 GB, free: 15.59 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.284e-05/0.385, allocations: 0 / 1.424 GB, free: 15.59 MB / 1.123 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.002638/0.3876, allocations: 1.481 MB / 1.426 GB, free: 14.07 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3876, allocations: 8.031 kB / 1.426 GB, free: 14.06 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.3878, allocations: 118.6 kB / 1.426 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.3882, allocations: 144.1 kB / 1.426 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.3901, allocations: 1.055 MB / 1.427 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.3901, allocations: 58 kB / 1.427 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3902, allocations: 75.98 kB / 1.427 GB, free: 12.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.3917, allocations: 0.9411 MB / 1.428 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.3917, allocations: 0 / 1.428 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.3918, allocations: 32 kB / 1.428 GB, free: 11.53 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.3918, allocations: 16 kB / 1.428 GB, free: 11.51 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.3929, allocations: 0.5789 MB / 1.429 GB, free: 10.93 MB / 1.123 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.003763/0.3967, allocations: 2.74 MB / 1.431 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3973, allocations: 238.5 kB / 1.431 GB, free: 7.859 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.3976, allocations: 168.8 kB / 1.432 GB, free: 7.691 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.3978, allocations: 63.89 kB / 1.432 GB, free: 7.629 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3979, allocations: 38.56 kB / 1.432 GB, free: 7.582 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.3979, allocations: 0 / 1.432 GB, free: 7.582 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001199/0.3991, allocations: 0.529 MB / 1.432 GB, free: 7.047 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3991, allocations: 55.41 kB / 1.432 GB, free: 6.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4003, allocations: 0.9615 MB / 1.433 GB, free: 6 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.4003, allocations: 33.7 kB / 1.433 GB, free: 5.961 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.4008, allocations: 0.5004 MB / 1.434 GB, free: 5.453 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4009, allocations: 119 kB / 1.434 GB, free: 5.336 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.4011, allocations: 118.2 kB / 1.434 GB, free: 5.211 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4012, allocations: 329.9 kB / 1.434 GB, free: 4.883 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.4016, allocations: 169.2 kB / 1.434 GB, free: 4.719 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.4022, allocations: 0.4981 MB / 1.435 GB, free: 4.105 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.403, allocations: 0.5154 MB / 1.435 GB, free: 3.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.403, allocations: 0 / 1.435 GB, free: 3.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001137/0.4042, allocations: 0.6175 MB / 1.436 GB, free: 2.895 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4042, allocations: 13.97 kB / 1.436 GB, free: 2.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.4042, allocations: 4.688 kB / 1.436 GB, free: 2.879 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4042, allocations: 8 kB / 1.436 GB, free: 2.871 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.4046, allocations: 127.8 kB / 1.436 GB, free: 2.746 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4047, allocations: 11.98 kB / 1.436 GB, free: 2.734 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.4052, allocations: 83.44 kB / 1.436 GB, free: 2.652 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.4053, allocations: 27.94 kB / 1.436 GB, free: 2.625 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.0003572/0.4056, allocations: 278.7 kB / 1.437 GB, free: 2.344 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4058, allocations: 103.3 kB / 1.437 GB, free: 2.242 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009872/0.4068, allocations: 495.2 kB / 1.437 GB, free: 1.754 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4068, allocations: 4 kB / 1.437 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4068, allocations: 0 / 1.437 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007483/0.4075, allocations: 457.5 kB / 1.438 GB, free: 1.273 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.4096, allocations: 1.245 MB / 1.439 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4096, allocations: 0 / 1.439 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.4099, allocations: 79.83 kB / 1.439 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4099, allocations: 8.156 kB / 1.439 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.41, allocations: 11.98 kB / 1.439 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.41, allocations: 4 kB / 1.439 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.41, allocations: 0 / 1.439 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.4113, allocations: 0.7721 MB / 1.44 GB, free: 15.05 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.4116, allocations: 167.2 kB / 1.44 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.4117, allocations: 11.94 kB / 1.44 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.4122, allocations: 31.91 kB / 1.44 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.4123, allocations: 28.02 kB / 1.44 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.4123, allocations: 19.98 kB / 1.44 GB, free: 14.8 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009177/0.4133, allocations: 0.6707 MB / 1.441 GB, free: 14.12 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.4133, allocations: 0 / 1.441 GB, free: 14.12 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009192/0.4142, allocations: 339.3 kB / 1.441 GB, free: 13.79 MB / 1.139 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.002188/0.4164, allocations: 1.577 MB / 1.442 GB, free: 12.18 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009087/0.4173, allocations: 417.5 kB / 1.443 GB, free: 11.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4173, allocations: 3.938 kB / 1.443 GB, free: 11.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.4177, allocations: 184.5 kB / 1.443 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.4202, allocations: 0.6016 MB / 1.444 GB, free: 10.99 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/0.4301, allocations: 6.86 MB / 1.45 GB, free: 3.836 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.4306, allocations: 461.2 kB / 1.451 GB, free: 3.352 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006968/0.4313, allocations: 201.3 kB / 1.451 GB, free: 3.156 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.4318, allocations: 371.3 kB / 1.451 GB, free: 2.793 MB / 1.139 GB Notification: Performance of SimCode: time 9.62e-07/0.4318, allocations: 3.938 kB / 1.451 GB, free: 2.789 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/0.5, allocations: 32.7 MB / 1.483 GB, free: 2.715 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.61, allocations: 13.45 kB / 1.483 GB, free: 2.703 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: 17.806117868050933]