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.001426/0.001426, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001599/0.001599, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.831/2.831, allocations: 0.49 GB / 0.7923 GB, free: 1.391 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.001904/0.001904, allocations: 67.91 kB / 1.15 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.8709, allocations: 176.1 MB / 1.321 GB, free: 24.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03564/0.9065, allocations: 42.16 MB / 1.363 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.9237, allocations: 10.41 MB / 1.373 GB, free: 3.164 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.9264, allocations: 80.09 kB / 1.373 GB, free: 3.121 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.9292, allocations: 0.6721 MB / 1.374 GB, free: 2.719 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00694/0.9361, allocations: 1.977 MB / 1.375 GB, free: 1.551 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.9398, allocations: 1.198 MB / 1.377 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005708/0.9455, allocations: 3.407 MB / 1.38 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.9473, allocations: 0.8661 MB / 1.381 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.9513, allocations: 1.435 MB / 1.382 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.9533, allocations: 0.9272 MB / 1.383 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003248/0.9537, allocations: 104.2 kB / 1.383 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.9566, allocations: 0.9077 MB / 1.384 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005811/0.9572, allocations: 288.8 kB / 1.384 GB, free: 13.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.9587, allocations: 0.6365 MB / 1.385 GB, free: 12.79 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005053/0.9638, allocations: 1.997 MB / 1.387 GB, free: 12.04 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9638, allocations: 0 / 1.387 GB, free: 12.04 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9638, allocations: 0 / 1.387 GB, free: 12.04 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.426e-05/0.9639, allocations: 1.594 kB / 1.387 GB, free: 12.04 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.003808/0.9677, allocations: 1.55 MB / 1.388 GB, free: 10.97 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9677, allocations: 13.2 kB / 1.388 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.381e-05/0.9677, allocations: 19.59 kB / 1.389 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.9679, allocations: 118.9 kB / 1.389 GB, free: 10.88 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.9684, allocations: 143.6 kB / 1.389 GB, free: 10.81 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.9706, allocations: 1.125 MB / 1.39 GB, free: 10.13 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.9706, allocations: 55.41 kB / 1.39 GB, free: 10.11 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.9707, allocations: 76.11 kB / 1.39 GB, free: 10.08 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.9723, allocations: 0.7933 MB / 1.391 GB, free: 9.703 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.9723, allocations: 1.891 kB / 1.391 GB, free: 9.703 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.9724, allocations: 31.38 kB / 1.391 GB, free: 9.68 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.9724, allocations: 22.88 kB / 1.391 GB, free: 9.676 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.9738, allocations: 0.5667 MB / 1.391 GB, free: 9.484 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.005751/0.9795, allocations: 3.719 MB / 1.395 GB, free: 6.695 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.9802, allocations: 239.2 kB / 1.395 GB, free: 6.605 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.9806, allocations: 166.4 kB / 1.395 GB, free: 6.551 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/0.9813, allocations: 0.6611 MB / 1.396 GB, free: 5.785 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.9813, allocations: 37.91 kB / 1.396 GB, free: 5.742 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.9813, allocations: 1.094 kB / 1.396 GB, free: 5.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.0016/0.9829, allocations: 0.523 MB / 1.397 GB, free: 5.535 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.983, allocations: 59.88 kB / 1.397 GB, free: 5.469 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.9846, allocations: 0.9546 MB / 1.398 GB, free: 5.062 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.9847, allocations: 33.73 kB / 1.398 GB, free: 5.027 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/0.9852, allocations: 0.4928 MB / 1.398 GB, free: 4.633 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.9854, allocations: 121.7 kB / 1.398 GB, free: 4.539 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.9856, allocations: 114.5 kB / 1.398 GB, free: 4.477 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.9859, allocations: 333 kB / 1.399 GB, free: 4.156 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.9863, allocations: 164.9 kB / 1.399 GB, free: 4.102 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.987, allocations: 349.2 kB / 1.399 GB, free: 3.836 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.9881, allocations: 0.508 MB / 1.4 GB, free: 3.488 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.9881, allocations: 1.312 kB / 1.4 GB, free: 3.488 MB / 1.092 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001618/0.9897, allocations: 0.633 MB / 1.4 GB, free: 3.215 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.9897, allocations: 10.56 kB / 1.4 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.9897, allocations: 5.969 kB / 1.4 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.9898, allocations: 7.375 kB / 1.4 GB, free: 3.211 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.9903, allocations: 123.4 kB / 1.4 GB, free: 3.199 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.9903, allocations: 9.859 kB / 1.4 GB, free: 3.199 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.9912, allocations: 87.72 kB / 1.4 GB, free: 3.148 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.9913, allocations: 30.03 kB / 1.4 GB, free: 3.141 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.0005989/0.9919, allocations: 275.7 kB / 1.401 GB, free: 2.934 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.9921, allocations: 108 kB / 1.401 GB, free: 2.875 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.9933, allocations: 485.5 kB / 1.401 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.9933, allocations: 9.938 kB / 1.401 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.9933, allocations: 0 / 1.401 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008651/0.9942, allocations: 456 kB / 1.402 GB, free: 2.418 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.9969, allocations: 1.365 MB / 1.403 GB, free: 1.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.9969, allocations: 5 kB / 1.403 GB, free: 1.672 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.9972, allocations: 77.39 kB / 1.403 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.9972, allocations: 3.406 kB / 1.403 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.9973, allocations: 14.17 kB / 1.403 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.9973, allocations: 3.312 kB / 1.403 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9973, allocations: 1.125 kB / 1.403 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.9988, allocations: 0.7713 MB / 1.404 GB, free: 1.242 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.9991, allocations: 234.3 kB / 1.404 GB, free: 1.055 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.9993, allocations: 7.781 kB / 1.404 GB, free: 1.051 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.9998, allocations: 39.56 kB / 1.404 GB, free: 1.035 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.9999, allocations: 25.75 kB / 1.404 GB, free: 1.031 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.9999, allocations: 23.69 kB / 1.404 GB, free: 1.023 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001008/1.001, allocations: 0.6685 MB / 1.405 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/1.001, allocations: 0 / 1.405 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001227/1.002, allocations: 344.6 kB / 1.405 GB, free: 0.6523 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.00264/1.005, allocations: 1.566 MB / 1.407 GB, free: 15.63 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.006, allocations: 405.9 kB / 1.407 GB, free: 15.51 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.006, allocations: 1.406 kB / 1.407 GB, free: 15.51 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004595/1.006, allocations: 180.4 kB / 1.407 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.009, allocations: 0.6078 MB / 1.408 GB, free: 15.27 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.021, allocations: 6.867 MB / 1.415 GB, free: 11.52 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.022, allocations: 1.034 MB / 1.416 GB, free: 10.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001301/1.023, allocations: 195.9 kB / 1.416 GB, free: 10.74 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006887/1.024, allocations: 371.8 kB / 1.416 GB, free: 10.47 MB / 1.107 GB Notification: Performance of SimCode: time 1.733e-06/1.024, allocations: 3.938 kB / 1.416 GB, free: 10.46 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/1.101, allocations: 29.89 MB / 1.445 GB, free: 10.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.58, allocations: 24.22 kB / 1.445 GB, free: 10.08 MB / 1.123 GB " [Timeout remaining time 288] (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: 17.938470099004917]