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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005084/0.005084, allocations: 96.62 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.001464/0.001464, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2885, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5882/0.8768, allocations: 77.29 MB / 1.317 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.9024, allocations: 18.91 MB / 1.336 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.9058, allocations: 108.9 kB / 1.336 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.9088, allocations: 1.248 MB / 1.337 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008997/0.9178, allocations: 3.617 MB / 1.341 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.9227, allocations: 2.102 MB / 1.343 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008341/0.9311, allocations: 6.683 MB / 1.349 GB, free: 7.008 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.9337, allocations: 2.092 MB / 1.351 GB, free: 6.012 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005366/0.9391, allocations: 2.598 MB / 1.354 GB, free: 4.766 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.9414, allocations: 1.737 MB / 1.356 GB, free: 3.957 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.9417, allocations: 198.8 kB / 1.356 GB, free: 3.957 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.9453, allocations: 1.611 MB / 1.357 GB, free: 3.309 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005196/0.9458, allocations: 0.5402 MB / 1.358 GB, free: 2.977 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.9471, allocations: 1.248 MB / 1.359 GB, free: 2.215 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004839/0.952, allocations: 3.759 MB / 1.363 GB, free: 15.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.952, allocations: 0 / 1.363 GB, free: 15.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.952, allocations: 0 / 1.363 GB, free: 15.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.566e-05/0.952, allocations: 1.812 kB / 1.363 GB, free: 15.86 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004026/0.956, allocations: 2.794 MB / 1.365 GB, free: 13.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.9561, allocations: 13.31 kB / 1.365 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.9563, allocations: 201.8 kB / 1.366 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006257/0.9569, allocations: 277 kB / 1.366 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.9599, allocations: 2.032 MB / 1.368 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.96, allocations: 112.7 kB / 1.368 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.9602, allocations: 144 kB / 1.368 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.9626, allocations: 1.518 MB / 1.37 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.9627, allocations: 17.78 kB / 1.37 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.9628, allocations: 62.45 kB / 1.37 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.9628, allocations: 36.31 kB / 1.37 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.965, allocations: 1.124 MB / 1.371 GB, free: 10.24 MB / 1.076 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.007913/0.9729, allocations: 7.932 MB / 1.379 GB, free: 2.984 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.9738, allocations: 477.2 kB / 1.379 GB, free: 2.754 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/0.9745, allocations: 330 kB / 1.379 GB, free: 2.598 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000988/0.9755, allocations: 1.155 MB / 1.38 GB, free: 1.242 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.9755, allocations: 44.56 kB / 1.381 GB, free: 1.195 MB / 1.076 GB Notification: Performance of pre-optimization done (n=59): time 2.285e-06/0.9755, allocations: 0 / 1.381 GB, free: 1.195 MB / 1.076 GB Notification: Performance of matching and sorting (n=59): time 0.002293/0.9778, allocations: 0.9722 MB / 1.381 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.9779, allocations: 57.91 kB / 1.382 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.9802, allocations: 1.788 MB / 1.383 GB, free: 15.65 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.9803, allocations: 47.52 kB / 1.383 GB, free: 15.6 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.9811, allocations: 0.9393 MB / 1.384 GB, free: 14.77 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.9813, allocations: 231.8 kB / 1.384 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.9816, allocations: 225.5 kB / 1.385 GB, free: 14.44 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.9818, allocations: 351.6 kB / 1.385 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.9826, allocations: 329.4 kB / 1.385 GB, free: 13.95 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009923/0.9836, allocations: 0.6866 MB / 1.386 GB, free: 13.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.9852, allocations: 1.013 MB / 1.387 GB, free: 12.55 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.9852, allocations: 2.219 kB / 1.387 GB, free: 12.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002236/0.9875, allocations: 1.227 MB / 1.388 GB, free: 11.94 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9875, allocations: 15.12 kB / 1.388 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.9875, allocations: 10.16 kB / 1.388 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.9876, allocations: 24.19 kB / 1.388 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009808/0.9885, allocations: 288.6 kB / 1.388 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.9886, allocations: 24.12 kB / 1.389 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.9898, allocations: 168.1 kB / 1.389 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.9899, allocations: 57.14 kB / 1.389 GB, free: 11.71 MB / 1.092 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.0006479/0.9906, allocations: 435.3 kB / 1.389 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.9909, allocations: 208.9 kB / 1.389 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.9926, allocations: 0.8644 MB / 1.39 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.9926, allocations: 7.125 kB / 1.39 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9927, allocations: 0 / 1.39 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001342/0.994, allocations: 0.7989 MB / 1.391 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.9981, allocations: 2.451 MB / 1.393 GB, free: 8.551 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.9981, allocations: 6.031 kB / 1.393 GB, free: 8.547 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.9989, allocations: 177.9 kB / 1.394 GB, free: 8.496 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.9989, allocations: 8.562 kB / 1.394 GB, free: 8.492 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.999, allocations: 16.06 kB / 1.394 GB, free: 8.484 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.999, allocations: 8.188 kB / 1.394 GB, free: 8.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.999, allocations: 2.094 kB / 1.394 GB, free: 8.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/1.001, allocations: 1.35 MB / 1.395 GB, free: 7.676 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/1.002, allocations: 377.5 kB / 1.395 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/1.002, allocations: 12.59 kB / 1.395 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009345/1.003, allocations: 69.2 kB / 1.395 GB, free: 7.312 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.003, allocations: 54.62 kB / 1.395 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/1.003, allocations: 36.88 kB / 1.395 GB, free: 7.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001532/1.005, allocations: 1.238 MB / 1.397 GB, free: 6.582 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.005, allocations: 0 / 1.397 GB, free: 6.582 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001627/1.006, allocations: 0.6634 MB / 1.397 GB, free: 6.414 MB / 1.092 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.003645/1.01, allocations: 2.4 MB / 1.4 GB, free: 4.219 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.012, allocations: 0.8156 MB / 1.4 GB, free: 3.406 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.012, allocations: 0 / 1.4 GB, free: 3.406 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/1.013, allocations: 352.4 kB / 1.401 GB, free: 3.059 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/1.017, allocations: 1.201 MB / 1.402 GB, free: 1.879 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.035, allocations: 12.63 MB / 1.414 GB, free: 4.742 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.036, allocations: 1.405 MB / 1.416 GB, free: 3.305 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001398/1.038, allocations: 383.3 kB / 1.416 GB, free: 2.934 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009767/1.039, allocations: 0.7648 MB / 1.417 GB, free: 2.168 MB / 1.107 GB Notification: Performance of SimCode: time 5.31e-07/1.039, allocations: 0 / 1.417 GB, free: 2.168 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8717/1.91, allocations: 57.6 MB / 1.473 GB, free: 9.211 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/18.62, allocations: 11.62 kB / 1.473 GB, free: 9.203 MB / 1.17 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=400 --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