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.00131/0.00131, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001373/0.001373, allocations: 209.7 kB / 23.02 MB, free: 4.926 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.093/3.093, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.001946/0.001946, allocations: 61.81 kB / 1.155 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04539/0.4231, allocations: 38.45 MB / 1.364 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.4392, allocations: 9.645 MB / 1.374 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.4412, allocations: 83.31 kB / 1.374 GB, free: 1.145 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.4429, allocations: 0.6366 MB / 1.374 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.4485, allocations: 2.01 MB / 1.376 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.4518, allocations: 1.223 MB / 1.377 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004748/0.4565, allocations: 3.492 MB / 1.381 GB, free: 9.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.458, allocations: 0.8069 MB / 1.382 GB, free: 8.941 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.4616, allocations: 1.469 MB / 1.383 GB, free: 7.473 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.4632, allocations: 0.9256 MB / 1.384 GB, free: 6.543 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.4634, allocations: 100 kB / 1.384 GB, free: 6.445 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.4653, allocations: 0.7251 MB / 1.385 GB, free: 5.719 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.4656, allocations: 298.7 kB / 1.385 GB, free: 5.426 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.4664, allocations: 0.5055 MB / 1.386 GB, free: 4.918 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.4692, allocations: 1.954 MB / 1.387 GB, free: 2.957 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4692, allocations: 3.984 kB / 1.387 GB, free: 2.953 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4693, allocations: 0 / 1.387 GB, free: 2.953 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.4693, allocations: 0 / 1.387 GB, free: 2.953 MB / 1.076 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.00279/0.4721, allocations: 1.477 MB / 1.389 GB, free: 1.438 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.4721, allocations: 12.03 kB / 1.389 GB, free: 1.426 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.332e-05/0.4722, allocations: 18.19 kB / 1.389 GB, free: 1.41 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.4723, allocations: 118.7 kB / 1.389 GB, free: 1.285 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.4728, allocations: 140.1 kB / 1.389 GB, free: 1.148 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.475, allocations: 1.063 MB / 1.39 GB, free: 48 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/0.4751, allocations: 58.05 kB / 1.39 GB, free: 15.99 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4752, allocations: 72 kB / 1.39 GB, free: 15.92 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.477, allocations: 0.945 MB / 1.391 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.477, allocations: 7.891 kB / 1.391 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.4771, allocations: 28 kB / 1.391 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.4771, allocations: 19.94 kB / 1.391 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4784, allocations: 0.5711 MB / 1.392 GB, free: 14.28 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.004503/0.4829, allocations: 2.74 MB / 1.395 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.4835, allocations: 245 kB / 1.395 GB, free: 11.2 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.4838, allocations: 164.8 kB / 1.395 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.4841, allocations: 59.89 kB / 1.395 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4841, allocations: 42.56 kB / 1.395 GB, free: 10.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 3.436e-06/0.4841, allocations: 0 / 1.395 GB, free: 10.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001273/0.4854, allocations: 0.513 MB / 1.396 GB, free: 10.41 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4854, allocations: 59.39 kB / 1.396 GB, free: 10.34 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.4867, allocations: 0.9576 MB / 1.397 GB, free: 9.363 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.4867, allocations: 33.7 kB / 1.397 GB, free: 9.324 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.4872, allocations: 0.4966 MB / 1.397 GB, free: 8.824 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.4873, allocations: 119 kB / 1.397 GB, free: 8.707 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.4875, allocations: 122.2 kB / 1.397 GB, free: 8.578 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4877, allocations: 329.9 kB / 1.398 GB, free: 8.25 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.488, allocations: 161.2 kB / 1.398 GB, free: 8.094 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.4886, allocations: 0.498 MB / 1.398 GB, free: 7.48 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.4895, allocations: 0.5233 MB / 1.399 GB, free: 6.887 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4895, allocations: 0 / 1.399 GB, free: 6.887 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00113/0.4906, allocations: 0.6254 MB / 1.399 GB, free: 6.254 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4906, allocations: 8 kB / 1.399 GB, free: 6.246 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4907, allocations: 7.938 kB / 1.399 GB, free: 6.238 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.4907, allocations: 8 kB / 1.399 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.4911, allocations: 123.8 kB / 1.4 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.4911, allocations: 20.34 kB / 1.4 GB, free: 6.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.4917, allocations: 91.36 kB / 1.4 GB, free: 6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.4918, allocations: 24 kB / 1.4 GB, free: 5.977 MB / 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.0003716/0.4921, allocations: 273.7 kB / 1.4 GB, free: 5.699 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.4923, allocations: 103.3 kB / 1.4 GB, free: 5.598 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/0.4933, allocations: 497.6 kB / 1.4 GB, free: 5.102 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4933, allocations: 4 kB / 1.4 GB, free: 5.098 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4933, allocations: 0 / 1.4 GB, free: 5.098 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007308/0.494, allocations: 461.3 kB / 1.401 GB, free: 4.617 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.496, allocations: 1.238 MB / 1.402 GB, free: 3.316 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.496, allocations: 7.875 kB / 1.402 GB, free: 3.309 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.4963, allocations: 71.89 kB / 1.402 GB, free: 3.238 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4963, allocations: 4 kB / 1.402 GB, free: 3.234 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.4964, allocations: 11.98 kB / 1.402 GB, free: 3.223 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.4964, allocations: 7.938 kB / 1.402 GB, free: 3.215 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4964, allocations: 4.156 kB / 1.402 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4977, allocations: 0.7799 MB / 1.403 GB, free: 2.402 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.498, allocations: 163.1 kB / 1.403 GB, free: 2.242 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4981, allocations: 8 kB / 1.403 GB, free: 2.234 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.4986, allocations: 28.03 kB / 1.403 GB, free: 2.207 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.4987, allocations: 31.89 kB / 1.403 GB, free: 2.176 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.4987, allocations: 24.05 kB / 1.403 GB, free: 2.152 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008597/0.4996, allocations: 0.6629 MB / 1.404 GB, free: 1.48 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.4996, allocations: 0 / 1.404 GB, free: 1.48 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009508/0.5005, allocations: 343.2 kB / 1.404 GB, free: 1.145 MB / 1.092 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.002136/0.5026, allocations: 1.592 MB / 1.406 GB, free: 15.51 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008442/0.5035, allocations: 404.3 kB / 1.406 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5035, allocations: 448 / 1.406 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.5039, allocations: 179.8 kB / 1.406 GB, free: 14.94 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.5062, allocations: 0.6138 MB / 1.407 GB, free: 14.35 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009371/0.5156, allocations: 6.87 MB / 1.414 GB, free: 7.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.516, allocations: 457.2 kB / 1.414 GB, free: 6.699 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006735/0.5167, allocations: 201.4 kB / 1.414 GB, free: 6.504 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.5172, allocations: 371.3 kB / 1.415 GB, free: 6.141 MB / 1.107 GB Notification: Performance of SimCode: time 1.182e-06/0.5172, allocations: 4 kB / 1.415 GB, free: 6.137 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/0.5832, allocations: 32.29 MB / 1.446 GB, free: 6.609 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.61, allocations: 22.05 kB / 1.446 GB, free: 6.594 MB / 1.139 GB " [Timeout remaining time 286] (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: 20.348951580002904]