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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004265/0.004265, allocations: 98.06 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 197 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.616/2.616, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7128, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04177/0.7546, allocations: 41.58 MB / 1.261 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.7692, allocations: 10.42 MB / 1.271 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.7706, allocations: 55.69 kB / 1.271 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.7721, allocations: 0.6365 MB / 1.272 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.7762, allocations: 1.885 MB / 1.273 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.7789, allocations: 1.186 MB / 1.275 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003901/0.7828, allocations: 3.389 MB / 1.278 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.7841, allocations: 1.056 MB / 1.279 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.7865, allocations: 1.234 MB / 1.28 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.7876, allocations: 0.8867 MB / 1.281 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.7878, allocations: 100 kB / 1.281 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.7896, allocations: 0.8617 MB / 1.282 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.7899, allocations: 275 kB / 1.282 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.7905, allocations: 0.6337 MB / 1.283 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.793, allocations: 1.931 MB / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.793, allocations: 0 / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.793, allocations: 0 / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.793, allocations: 0 / 1.285 GB, free: 15.7 MB / 1.014 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.002313/0.7953, allocations: 1.556 MB / 1.286 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7954, allocations: 8.031 kB / 1.286 GB, free: 14.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.7955, allocations: 114.7 kB / 1.286 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.7959, allocations: 144.1 kB / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.7975, allocations: 1.112 MB / 1.288 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.7976, allocations: 54 kB / 1.288 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.7977, allocations: 68 kB / 1.288 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.799, allocations: 0.7982 MB / 1.288 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.7991, allocations: 3.938 kB / 1.288 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.7992, allocations: 28 kB / 1.289 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.7992, allocations: 20 kB / 1.289 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.8003, allocations: 0.575 MB / 1.289 GB, free: 11.08 MB / 1.014 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.003955/0.8043, allocations: 3.557 MB / 1.293 GB, free: 7.297 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.8049, allocations: 262.4 kB / 1.293 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.8052, allocations: 178.8 kB / 1.293 GB, free: 6.855 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/0.8058, allocations: 0.6648 MB / 1.294 GB, free: 6.043 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.8059, allocations: 38.56 kB / 1.294 GB, free: 5.996 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 3.737e-06/0.8059, allocations: 4 kB / 1.294 GB, free: 5.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001179/0.807, allocations: 0.513 MB / 1.294 GB, free: 5.473 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.8071, allocations: 55.41 kB / 1.294 GB, free: 5.406 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.8083, allocations: 0.9456 MB / 1.295 GB, free: 4.441 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.8083, allocations: 41.64 kB / 1.295 GB, free: 4.395 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.8088, allocations: 0.4965 MB / 1.296 GB, free: 3.891 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.8089, allocations: 115 kB / 1.296 GB, free: 3.777 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8091, allocations: 122.1 kB / 1.296 GB, free: 3.652 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.8092, allocations: 329.9 kB / 1.296 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.8096, allocations: 161 kB / 1.296 GB, free: 3.164 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.8102, allocations: 354.9 kB / 1.297 GB, free: 2.746 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.811, allocations: 0.507 MB / 1.297 GB, free: 2.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.8111, allocations: 0 / 1.297 GB, free: 2.168 MB / 1.014 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001166/0.8122, allocations: 0.6252 MB / 1.298 GB, free: 1.535 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8123, allocations: 8.688 kB / 1.298 GB, free: 1.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8123, allocations: 4 kB / 1.298 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8123, allocations: 12 kB / 1.298 GB, free: 1.512 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.8127, allocations: 119.8 kB / 1.298 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.8127, allocations: 15.92 kB / 1.298 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.8133, allocations: 87.38 kB / 1.298 GB, free: 1.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.8134, allocations: 35.94 kB / 1.298 GB, free: 1.258 MB / 1.014 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.0003467/0.8137, allocations: 265.7 kB / 1.298 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.8139, allocations: 111.3 kB / 1.298 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009917/0.8149, allocations: 475.7 kB / 1.299 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8149, allocations: 19.92 kB / 1.299 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8149, allocations: 0 / 1.299 GB, free: 400 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007724/0.8157, allocations: 457.2 kB / 1.299 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.8178, allocations: 1.364 MB / 1.301 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8178, allocations: 0 / 1.301 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.8181, allocations: 79.83 kB / 1.301 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8181, allocations: 4 kB / 1.301 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.8182, allocations: 11.98 kB / 1.301 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.8182, allocations: 7.938 kB / 1.301 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8182, allocations: 0 / 1.301 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.8195, allocations: 0.7653 MB / 1.302 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.8198, allocations: 240.2 kB / 1.302 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.8199, allocations: 8 kB / 1.302 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.8204, allocations: 31.95 kB / 1.302 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.8205, allocations: 27.91 kB / 1.302 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.8205, allocations: 24.05 kB / 1.302 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008456/0.8214, allocations: 0.6588 MB / 1.303 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8214, allocations: 0 / 1.303 GB, free: 12.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008863/0.8223, allocations: 343.2 kB / 1.303 GB, free: 12.23 MB / 1.029 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.002246/0.8245, allocations: 1.612 MB / 1.304 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008844/0.8254, allocations: 421.2 kB / 1.305 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8254, allocations: 8.125 kB / 1.305 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.8258, allocations: 188 kB / 1.305 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.8283, allocations: 0.6055 MB / 1.306 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009258/0.8376, allocations: 6.833 MB / 1.312 GB, free: 2.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.8383, allocations: 1.044 MB / 1.313 GB, free: 1.191 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006149/0.8389, allocations: 200.3 kB / 1.313 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.8394, allocations: 371.3 kB / 1.314 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.8394, allocations: 0 / 1.314 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.528/3.367, allocations: 29.73 MB / 1.343 GB, free: 3.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/18.34, allocations: 19.02 kB / 1.343 GB, free: 3.305 MB / 1.061 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) 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) Reference file matches