Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.008048/0.008048, allocations: 99.98 kB / 15.73 MB, free: 6.043 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.001768/0.001769, allocations: 190.6 kB / 16.67 MB, free: 5.977 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: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.304, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.7413/1.045, allocations: 77.15 MB / 1.283 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02955/1.075, allocations: 18.89 MB / 1.301 GB, free: 5.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005244/1.08, allocations: 109.2 kB / 1.301 GB, free: 5.051 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/1.085, allocations: 1.248 MB / 1.302 GB, free: 4.281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/1.097, allocations: 3.634 MB / 1.306 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006683/1.104, allocations: 2.094 MB / 1.308 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.116, allocations: 6.674 MB / 1.315 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004/1.12, allocations: 2.095 MB / 1.317 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007127/1.127, allocations: 2.377 MB / 1.319 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00539/1.132, allocations: 1.757 MB / 1.321 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00118/1.133, allocations: 199.8 kB / 1.321 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007805/1.141, allocations: 1.615 MB / 1.322 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001567/1.143, allocations: 0.5343 MB / 1.323 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004701/1.148, allocations: 1.249 MB / 1.324 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.159, allocations: 3.731 MB / 1.328 GB, free: 7.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.159, allocations: 5.469 kB / 1.328 GB, free: 7.641 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/1.159, allocations: 4 kB / 1.328 GB, free: 7.637 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001452/1.159, allocations: 0 / 1.328 GB, free: 7.637 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008846/1.168, allocations: 2.71 MB / 1.33 GB, free: 5.914 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.168, allocations: 10.75 kB / 1.33 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005957/1.168, allocations: 207.4 kB / 1.331 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/1.17, allocations: 267.2 kB / 1.331 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005319/1.175, allocations: 2.019 MB / 1.333 GB, free: 4.551 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.176, allocations: 105.5 kB / 1.333 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/1.176, allocations: 147.2 kB / 1.333 GB, free: 4.453 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/1.18, allocations: 1.522 MB / 1.335 GB, free: 3.738 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/1.18, allocations: 6.125 kB / 1.335 GB, free: 3.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/1.181, allocations: 57.84 kB / 1.335 GB, free: 3.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-05/1.181, allocations: 40.81 kB / 1.335 GB, free: 3.688 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/1.184, allocations: 1.125 MB / 1.336 GB, free: 3.297 MB / 1.029 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.01165/1.195, allocations: 7.604 MB / 1.343 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.197, allocations: 474.1 kB / 1.344 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/1.197, allocations: 340.2 kB / 1.344 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008798/1.198, allocations: 1.145 MB / 1.345 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.198, allocations: 50.89 kB / 1.345 GB, free: 11.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=59): time 3.887e-06/1.198, allocations: 3.984 kB / 1.345 GB, free: 11.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=59): time 0.002708/1.201, allocations: 0.9596 MB / 1.346 GB, free: 11.31 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.201, allocations: 62.59 kB / 1.346 GB, free: 11.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/1.205, allocations: 1.779 MB / 1.348 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/1.205, allocations: 43.98 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009137/1.206, allocations: 0.9341 MB / 1.349 GB, free: 9.391 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/1.206, allocations: 218.6 kB / 1.349 GB, free: 9.203 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000392/1.207, allocations: 225.7 kB / 1.349 GB, free: 9.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.207, allocations: 347.2 kB / 1.35 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007469/1.207, allocations: 333.1 kB / 1.35 GB, free: 8.574 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.209, allocations: 0.6865 MB / 1.351 GB, free: 7.953 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/1.21, allocations: 1.013 MB / 1.352 GB, free: 7.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.21, allocations: 3.156 kB / 1.352 GB, free: 7.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002896/1.213, allocations: 1.214 MB / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.213, allocations: 8.844 kB / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.213, allocations: 9.875 kB / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/1.213, allocations: 24.44 kB / 1.353 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.214, allocations: 291.6 kB / 1.353 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.721e-05/1.214, allocations: 23.3 kB / 1.353 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.216, allocations: 165.7 kB / 1.353 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/1.216, allocations: 48.09 kB / 1.353 GB, free: 6.367 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0009461/1.217, allocations: 439.3 kB / 1.354 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/1.218, allocations: 192.4 kB / 1.354 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/1.22, allocations: 0.8675 MB / 1.355 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.22, allocations: 15.3 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.22, allocations: 0 / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/1.222, allocations: 0.7958 MB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/1.227, allocations: 2.442 MB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.227, allocations: 6.594 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/1.228, allocations: 177.7 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/1.228, allocations: 5.656 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/1.228, allocations: 22.67 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/1.228, allocations: 4.75 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.228, allocations: 6.156 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/1.231, allocations: 1.333 MB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/1.233, allocations: 372.2 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007451/1.233, allocations: 13.34 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.235, allocations: 73.12 kB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.235, allocations: 50.23 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.235, allocations: 31.42 kB / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002693/1.238, allocations: 1.242 MB / 1.361 GB, free: 1.262 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.81e-07/1.238, allocations: 0 / 1.361 GB, free: 1.262 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003037/1.241, allocations: 0.6482 MB / 1.362 GB, free: 1.109 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.005188/1.246, allocations: 2.397 MB / 1.364 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.248, allocations: 0.8208 MB / 1.365 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.248, allocations: 3.938 kB / 1.365 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007892/1.249, allocations: 356.2 kB / 1.365 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007137/1.256, allocations: 1.187 MB / 1.366 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.28, allocations: 12.55 MB / 1.379 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.281, allocations: 1.409 MB / 1.38 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001856/1.283, allocations: 374.9 kB / 1.38 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.284, allocations: 0.7648 MB / 1.381 GB, free: 3.227 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/1.284, allocations: 0 / 1.381 GB, free: 3.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.392, allocations: 58.48 MB / 1.438 GB, free: 9.383 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/13.07, allocations: 12.31 kB / 1.438 GB, free: 9.375 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches