Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_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.0007852/0.0007852, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.004824/0.004824, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 16.23 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5762, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07651/0.6527, allocations: 75.3 MB / 1.029 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.6771, allocations: 18.76 MB / 1.047 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.68, allocations: 95.31 kB / 1.047 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.6826, allocations: 1.026 MB / 1.048 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.6907, allocations: 3.375 MB / 1.051 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.6954, allocations: 1.906 MB / 1.053 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.7087, allocations: 8.878 MB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003499/0.7122, allocations: 1.696 MB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004161/0.7164, allocations: 1.886 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.7189, allocations: 1.699 MB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.7191, allocations: 76 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.7223, allocations: 1.43 MB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.7228, allocations: 418 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.724, allocations: 1.125 MB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.7282, allocations: 3.57 MB / 1.074 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7282, allocations: 0 / 1.074 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7282, allocations: 0 / 1.074 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.613e-05/0.7283, allocations: 0 / 1.074 GB, free: 5.723 MB / 0.8262 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.003609/0.7319, allocations: 2.287 MB / 1.076 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7319, allocations: 12.03 kB / 1.076 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002247/0.7322, allocations: 198.8 kB / 1.076 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.7327, allocations: 269.9 kB / 1.076 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.7355, allocations: 1.971 MB / 1.078 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.7356, allocations: 106.7 kB / 1.078 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.7358, allocations: 147.9 kB / 1.078 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.7383, allocations: 1.548 MB / 1.08 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.7383, allocations: 7.938 kB / 1.08 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.7385, allocations: 56 kB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.7385, allocations: 47.92 kB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.7407, allocations: 1.162 MB / 1.081 GB, free: 13.72 MB / 0.8419 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.007176/0.7479, allocations: 7.595 MB / 1.089 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009579/0.7489, allocations: 0.4933 MB / 1.089 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.7496, allocations: 354.3 kB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/0.7504, allocations: 1.148 MB / 1.091 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7504, allocations: 47.12 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 2.043e-06/0.7504, allocations: 0 / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002137/0.7526, allocations: 1.024 MB / 1.092 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.7526, allocations: 59.91 kB / 1.092 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.7547, allocations: 1.755 MB / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/0.7548, allocations: 45.7 kB / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.7556, allocations: 0.9277 MB / 1.094 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.7558, allocations: 228.9 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.7559, allocations: 93.66 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.756, allocations: 353.9 kB / 1.095 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.7568, allocations: 350.4 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/0.7577, allocations: 0.7133 MB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.7594, allocations: 1.055 MB / 1.097 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7594, allocations: 4 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002532/0.762, allocations: 1.257 MB / 1.098 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.762, allocations: 8 kB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.762, allocations: 12 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.7621, allocations: 16 kB / 1.098 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7632, allocations: 315.7 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.7632, allocations: 23.92 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.7649, allocations: 250.4 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.765, allocations: 48 kB / 1.099 GB, free: 10.35 MB / 0.8575 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.0007116/0.7658, allocations: 445.3 kB / 1.099 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.766, allocations: 197.7 kB / 1.099 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.7679, allocations: 0.904 MB / 1.1 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.768, allocations: 7.984 kB / 1.1 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.768, allocations: 4 kB / 1.1 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.7694, allocations: 0.8347 MB / 1.101 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.7734, allocations: 2.49 MB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7735, allocations: 0 / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.7743, allocations: 211.8 kB / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.7743, allocations: 4 kB / 1.104 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.7744, allocations: 19.98 kB / 1.104 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.7744, allocations: 4 kB / 1.104 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7744, allocations: 4 kB / 1.104 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.7768, allocations: 1.406 MB / 1.105 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/0.7775, allocations: 402.4 kB / 1.106 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.7777, allocations: 12 kB / 1.106 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7789, allocations: 134.9 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.7791, allocations: 48.42 kB / 1.106 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.7791, allocations: 35.98 kB / 1.106 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001624/0.7808, allocations: 1.22 MB / 1.107 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7808, allocations: 0 / 1.107 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001661/0.7824, allocations: 0.6318 MB / 1.108 GB, free: 1.121 MB / 0.8575 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.003556/0.786, allocations: 2.438 MB / 1.11 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.7877, allocations: 0.859 MB / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7877, allocations: 0 / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.7885, allocations: 375.9 kB / 1.111 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006294/0.7948, allocations: 1.207 MB / 1.112 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/0.8213, allocations: 14.93 MB / 1.127 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.8224, allocations: 1.401 MB / 1.128 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001756/0.8242, allocations: 391.2 kB / 1.129 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009671/0.8252, allocations: 0.7687 MB / 1.129 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of SimCode: time 1.223e-06/0.8252, allocations: 3.938 kB / 1.129 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/0.9089, allocations: 55.49 MB / 1.184 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.9091, allocations: 260.8 kB / 1.184 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.612/4.521, allocations: 0 / 1.184 GB, free: 2.434 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches