Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_10_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.00163/0.00163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002023/0.002023, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.502, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03866/0.5407, allocations: 41.27 MB / 1.057 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.5541, allocations: 10.33 MB / 1.067 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.5561, allocations: 55.62 kB / 1.067 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.5581, allocations: 0.5518 MB / 1.068 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.5634, allocations: 1.758 MB / 1.07 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.5663, allocations: 1.092 MB / 1.071 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004105/0.5704, allocations: 3.41 MB / 1.074 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.5718, allocations: 1.058 MB / 1.075 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.5744, allocations: 1.234 MB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.5757, allocations: 0.9217 MB / 1.077 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.5759, allocations: 100 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.5775, allocations: 0.8693 MB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.5778, allocations: 279 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.5785, allocations: 0.626 MB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.5807, allocations: 1.92 MB / 1.081 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5807, allocations: 0 / 1.081 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5807, allocations: 0 / 1.081 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.881e-05/0.5808, allocations: 0 / 1.081 GB, free: 1.008 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002295/0.5831, allocations: 1.518 MB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5831, allocations: 8.031 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.5832, allocations: 114.7 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.5836, allocations: 131.5 kB / 1.083 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.5851, allocations: 1.08 MB / 1.084 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.5851, allocations: 54 kB / 1.084 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.5852, allocations: 72 kB / 1.084 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5864, allocations: 0.7983 MB / 1.085 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5865, allocations: 0 / 1.085 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.5865, allocations: 28 kB / 1.085 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.5866, allocations: 20 kB / 1.085 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5876, allocations: 0.5672 MB / 1.085 GB, free: 12.49 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.003462/0.591, allocations: 3.551 MB / 1.089 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.5916, allocations: 264.6 kB / 1.089 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.5919, allocations: 174.8 kB / 1.089 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004258/0.5923, allocations: 0.6609 MB / 1.09 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.5924, allocations: 42.55 kB / 1.09 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 1.363e-06/0.5924, allocations: 0 / 1.09 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001032/0.5934, allocations: 0.5124 MB / 1.09 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.5934, allocations: 51.41 kB / 1.09 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5944, allocations: 0.9378 MB / 1.091 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.5945, allocations: 33.7 kB / 1.091 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.5948, allocations: 0.4917 MB / 1.092 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.5949, allocations: 114.4 kB / 1.092 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5951, allocations: 114.1 kB / 1.092 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.5952, allocations: 325.9 kB / 1.092 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.5955, allocations: 165 kB / 1.092 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.5959, allocations: 354.9 kB / 1.093 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.5966, allocations: 0.507 MB / 1.093 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5967, allocations: 3.938 kB / 1.093 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001005/0.5977, allocations: 0.6214 MB / 1.094 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5977, allocations: 8.031 kB / 1.094 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5977, allocations: 8 kB / 1.094 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5977, allocations: 8 kB / 1.094 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.5981, allocations: 123.8 kB / 1.094 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5981, allocations: 8 kB / 1.094 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.5987, allocations: 115.2 kB / 1.094 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.5988, allocations: 27.94 kB / 1.094 GB, free: 2.695 MB / 0.8419 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.0002841/0.5991, allocations: 277.6 kB / 1.094 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5992, allocations: 98.78 kB / 1.094 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008566/0.6001, allocations: 484.6 kB / 1.095 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6001, allocations: 4 kB / 1.095 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.6001, allocations: 4 kB / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006374/0.6007, allocations: 453.2 kB / 1.095 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.6025, allocations: 1.355 MB / 1.097 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.6025, allocations: 0 / 1.097 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.6028, allocations: 79.81 kB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6028, allocations: 4 kB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.6029, allocations: 8 kB / 1.097 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.6029, allocations: 4.156 kB / 1.097 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6029, allocations: 4 kB / 1.097 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.604, allocations: 0.7698 MB / 1.098 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.6043, allocations: 227.7 kB / 1.098 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6044, allocations: 16.05 kB / 1.098 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.6049, allocations: 51.95 kB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.605, allocations: 23.97 kB / 1.098 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.605, allocations: 15.98 kB / 1.098 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000736/0.6058, allocations: 0.6549 MB / 1.098 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6058, allocations: 4 kB / 1.098 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008009/0.6066, allocations: 331.4 kB / 1.099 GB, free: 13.68 MB / 0.8575 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.002004/0.6086, allocations: 1.59 MB / 1.1 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009196/0.6095, allocations: 443.4 kB / 1.101 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6096, allocations: 0 / 1.101 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.61, allocations: 185.5 kB / 1.101 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.6124, allocations: 0.6114 MB / 1.102 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.6245, allocations: 7.486 MB / 1.109 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.6253, allocations: 1.04 MB / 1.11 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009468/0.6262, allocations: 198.7 kB / 1.11 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.6267, allocations: 375.3 kB / 1.11 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of SimCode: time 8.41e-07/0.6267, allocations: 0 / 1.11 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.096/4.722, allocations: 28.94 MB / 1.139 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/4.723, allocations: 266.6 kB / 1.139 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/7.542, allocations: 1.828 kB / 1.139 GB, free: 4.594 MB / 0.8887 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches