Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.001205/0.001205, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01098/0.01098, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 15.25 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3055, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1574/0.4629, allocations: 144.8 MB / 1.2 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.4646, allocations: 1.133 MB / 1.201 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.4648, allocations: 4 kB / 1.201 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.4651, allocations: 51.72 kB / 1.201 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008261/0.4659, allocations: 274.9 kB / 1.202 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.4664, allocations: 151.5 kB / 1.202 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.4669, allocations: 235.3 kB / 1.202 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.467, allocations: 53.31 kB / 1.202 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.4671, allocations: 39.8 kB / 1.202 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.4672, allocations: 51.7 kB / 1.202 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.4672, allocations: 0 / 1.202 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.4679, allocations: 411.2 kB / 1.203 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.4679, allocations: 19.86 kB / 1.203 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.468, allocations: 81.36 kB / 1.203 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.4685, allocations: 295.1 kB / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4685, allocations: 0 / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4686, allocations: 0 / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4686, allocations: 0 / 1.203 GB, free: 0.6758 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006473/0.4692, allocations: 447 kB / 1.203 GB, free: 196 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4693, allocations: 15.97 kB / 1.203 GB, free: 180 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.4693, allocations: 42.73 kB / 1.203 GB, free: 128 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.4696, allocations: 40.72 kB / 1.203 GB, free: 88 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.4699, allocations: 219.7 kB / 1.204 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.4699, allocations: 8 kB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.47, allocations: 8 kB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.4702, allocations: 127.1 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4703, allocations: 0 / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4703, allocations: 4 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4703, allocations: 4 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.4706, allocations: 99.94 kB / 1.204 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.4713, allocations: 456.2 kB / 1.204 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4715, allocations: 102.5 kB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4716, allocations: 44.94 kB / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4716, allocations: 0 / 1.204 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4717, allocations: 34.56 kB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.4717, allocations: 0 / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004673/0.4722, allocations: 165.3 kB / 1.205 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4722, allocations: 55.41 kB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4724, allocations: 179.9 kB / 1.205 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4724, allocations: 25.7 kB / 1.205 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.4725, allocations: 120 kB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4725, allocations: 27.64 kB / 1.205 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.4726, allocations: 9.719 kB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4727, allocations: 330.8 kB / 1.205 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.4728, allocations: 35.97 kB / 1.205 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.4729, allocations: 39.98 kB / 1.205 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.4731, allocations: 80.81 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4731, allocations: 4 kB / 1.206 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002968/0.4734, allocations: 133.4 kB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4735, allocations: 5.406 kB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4735, allocations: 0 / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4735, allocations: 0 / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.4736, allocations: 23.98 kB / 1.206 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4737, allocations: 4 kB / 1.206 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4738, allocations: 15.92 kB / 1.206 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4738, allocations: 4 kB / 1.206 GB, free: 13.59 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001034/0.4739, allocations: 129.7 kB / 1.206 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.4739, allocations: 11.81 kB / 1.206 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.4743, allocations: 146.9 kB / 1.206 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4743, allocations: 0 / 1.206 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4743, allocations: 4 kB / 1.206 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4743, allocations: 0 / 1.206 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.4745, allocations: 217.5 kB / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4745, allocations: 0 / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4747, allocations: 23.98 kB / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4747, allocations: 0 / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4747, allocations: 0 / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4747, allocations: 3.984 kB / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4747, allocations: 0 / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.475, allocations: 231.8 kB / 1.206 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.4751, allocations: 81.02 kB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4751, allocations: 11.92 kB / 1.207 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4752, allocations: 8 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.4753, allocations: 7.984 kB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.4753, allocations: 0 / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001183/0.4754, allocations: 144.2 kB / 1.207 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4754, allocations: 0 / 1.207 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002444/0.4757, allocations: 20 kB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0006337/0.4763, allocations: 0.7708 MB / 1.207 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.4766, allocations: 87.95 kB / 1.208 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4766, allocations: 0 / 1.208 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4767, allocations: 43.91 kB / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.4772, allocations: 37.11 kB / 1.208 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.4794, allocations: 1.82 MB / 1.209 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.4797, allocations: 0.7043 MB / 1.21 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.448e-05/0.4798, allocations: 16.88 kB / 1.21 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.4798, allocations: 35.42 kB / 1.21 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.4798, allocations: 0 / 1.21 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.4934, allocations: 2.865 MB / 1.213 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.4936, allocations: 223.6 kB / 1.213 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.331, allocations: 0.625 kB / 1.213 GB, free: 5.902 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches