Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001825/0.001825, allocations: 116.1 kB / 17.17 MB, free: 6 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.00224/0.00224, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.516/1.516, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_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.002227/0.002227, allocations: 71.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9288/0.931, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05382/0.9848, allocations: 42.09 MB / 1.32 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02023/1.005, allocations: 10.42 MB / 1.33 GB, free: 6.121 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/1.008, allocations: 79.16 kB / 1.33 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002307/1.01, allocations: 0.6696 MB / 1.331 GB, free: 5.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006615/1.017, allocations: 1.976 MB / 1.333 GB, free: 4.512 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/1.021, allocations: 1.193 MB / 1.334 GB, free: 3.852 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006184/1.027, allocations: 3.4 MB / 1.337 GB, free: 2.027 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/1.029, allocations: 0.8684 MB / 1.338 GB, free: 1.418 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/1.033, allocations: 1.278 MB / 1.339 GB, free: 0.668 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/1.035, allocations: 0.9322 MB / 1.34 GB, free: 100 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/1.035, allocations: 100.4 kB / 1.34 GB, free: 100 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/1.038, allocations: 0.9152 MB / 1.341 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004126/1.038, allocations: 300.2 kB / 1.342 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/1.039, allocations: 0.6225 MB / 1.342 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004005/1.043, allocations: 1.985 MB / 1.344 GB, free: 13.64 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.043, allocations: 4.703 kB / 1.344 GB, free: 13.64 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/1.043, allocations: 0 / 1.344 GB, free: 13.64 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.564e-05/1.043, allocations: 0 / 1.344 GB, free: 13.64 MB / 1.045 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.003432/1.047, allocations: 1.543 MB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.047, allocations: 9.344 kB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.604e-05/1.047, allocations: 19.44 kB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/1.047, allocations: 122.9 kB / 1.346 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/1.047, allocations: 141 kB / 1.346 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.05, allocations: 1.117 MB / 1.347 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/1.05, allocations: 51.22 kB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.05, allocations: 76.59 kB / 1.347 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/1.052, allocations: 0.7873 MB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.052, allocations: 9.062 kB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/1.052, allocations: 30.62 kB / 1.348 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/1.052, allocations: 19.16 kB / 1.348 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.053, allocations: 0.5648 MB / 1.349 GB, free: 10.52 MB / 1.045 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.005327/1.059, allocations: 3.567 MB / 1.352 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/1.059, allocations: 248.5 kB / 1.352 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/1.06, allocations: 165.9 kB / 1.352 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/1.06, allocations: 0.6617 MB / 1.353 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.06, allocations: 36.91 kB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/1.06, allocations: 1.25 kB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001434/1.062, allocations: 0.517 MB / 1.354 GB, free: 6.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.062, allocations: 54.12 kB / 1.354 GB, free: 6.016 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.063, allocations: 0.9541 MB / 1.355 GB, free: 5.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/1.063, allocations: 32.92 kB / 1.355 GB, free: 5.434 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/1.063, allocations: 0.4922 MB / 1.355 GB, free: 4.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.064, allocations: 117.9 kB / 1.355 GB, free: 4.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/1.064, allocations: 116.1 kB / 1.355 GB, free: 4.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002674/1.064, allocations: 335.2 kB / 1.356 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/1.064, allocations: 166.3 kB / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/1.065, allocations: 348.2 kB / 1.356 GB, free: 4.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/1.066, allocations: 0.5173 MB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.066, allocations: 5.375 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001376/1.067, allocations: 0.6231 MB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.067, allocations: 7.562 kB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.067, allocations: 4.688 kB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.067, allocations: 8.5 kB / 1.357 GB, free: 3.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/1.068, allocations: 126 kB / 1.357 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.068, allocations: 12.72 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/1.069, allocations: 94.36 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/1.069, allocations: 25.62 kB / 1.358 GB, free: 3.277 MB / 1.045 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.0005163/1.069, allocations: 268.7 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/1.069, allocations: 104 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/1.071, allocations: 492.9 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/1.071, allocations: 6.719 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.071, allocations: 1.531 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008397/1.071, allocations: 460.7 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/1.074, allocations: 1.351 MB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.074, allocations: 5.5 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/1.075, allocations: 83.91 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.075, allocations: 2.75 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/1.075, allocations: 8.625 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.075, allocations: 7.844 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.075, allocations: 1.375 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/1.076, allocations: 0.7654 MB / 1.361 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/1.077, allocations: 233.9 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.077, allocations: 15.77 kB / 1.361 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/1.077, allocations: 42.17 kB / 1.361 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/1.077, allocations: 23.88 kB / 1.361 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/1.077, allocations: 16.58 kB / 1.361 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001062/1.078, allocations: 0.664 MB / 1.362 GB, free: 240 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.078, allocations: 0 / 1.362 GB, free: 240 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001506/1.08, allocations: 339 kB / 1.362 GB, free: 160 kB / 1.045 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.002598/1.082, allocations: 1.591 MB / 1.364 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.084, allocations: 401.1 kB / 1.364 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.084, allocations: 1.25 kB / 1.364 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/1.084, allocations: 177.2 kB / 1.364 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.087, allocations: 0.6072 MB / 1.365 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.1, allocations: 6.846 MB / 1.372 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009772/1.101, allocations: 1.036 MB / 1.373 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009445/1.102, allocations: 199.1 kB / 1.373 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/1.103, allocations: 368.3 kB / 1.373 GB, free: 8.781 MB / 1.061 GB Notification: Performance of SimCode: time 9.92e-07/1.103, allocations: 0 / 1.373 GB, free: 8.781 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06989/1.173, allocations: 29.85 MB / 1.402 GB, free: 13.07 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.91, allocations: 15.94 kB / 1.402 GB, free: 13.06 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.372944125032518]