Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_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.004088/0.004088, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001175/0.001175, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.396/2.396, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 63.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.607/0.6087, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.15/0.7587, allocations: 149 MB / 1.366 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.7601, allocations: 1.129 MB / 1.367 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.7602, allocations: 0 / 1.367 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.7605, allocations: 55.67 kB / 1.367 GB, free: 11.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.7612, allocations: 314.6 kB / 1.367 GB, free: 10.94 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.7615, allocations: 163.3 kB / 1.367 GB, free: 10.78 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.7619, allocations: 223.3 kB / 1.368 GB, free: 10.56 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.762, allocations: 61.06 kB / 1.368 GB, free: 10.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.7621, allocations: 51.8 kB / 1.368 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.7622, allocations: 59.75 kB / 1.368 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.7623, allocations: 12 kB / 1.368 GB, free: 10.38 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.7629, allocations: 367.2 kB / 1.368 GB, free: 10.02 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.7629, allocations: 31.84 kB / 1.368 GB, free: 9.988 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.763, allocations: 59.67 kB / 1.368 GB, free: 9.93 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.7634, allocations: 290.7 kB / 1.368 GB, free: 9.648 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7634, allocations: 4 kB / 1.368 GB, free: 9.645 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7634, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.7634, allocations: 4 kB / 1.368 GB, free: 9.641 MB / 1.092 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.0006026/0.7641, allocations: 474.4 kB / 1.369 GB, free: 9.129 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.7641, allocations: 12.03 kB / 1.369 GB, free: 9.117 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.7641, allocations: 42.73 kB / 1.369 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.7644, allocations: 32.81 kB / 1.369 GB, free: 9.035 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.7646, allocations: 223.9 kB / 1.369 GB, free: 8.777 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7647, allocations: 12 kB / 1.369 GB, free: 8.766 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.7647, allocations: 12 kB / 1.369 GB, free: 8.754 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.7649, allocations: 114.7 kB / 1.369 GB, free: 8.637 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7649, allocations: 3.938 kB / 1.369 GB, free: 8.633 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.765, allocations: 0 / 1.369 GB, free: 8.633 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.765, allocations: 4 kB / 1.369 GB, free: 8.629 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.7652, allocations: 91.94 kB / 1.369 GB, free: 8.539 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.7659, allocations: 460.2 kB / 1.37 GB, free: 8.039 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.7661, allocations: 98.5 kB / 1.37 GB, free: 7.934 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.7662, allocations: 36.84 kB / 1.37 GB, free: 7.895 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.7662, allocations: 8 kB / 1.37 GB, free: 7.887 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.7662, allocations: 30.56 kB / 1.37 GB, free: 7.848 MB / 1.092 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.7662, allocations: 0 / 1.37 GB, free: 7.848 MB / 1.092 GB Notification: Performance of matching and sorting (n=7): time 0.0004163/0.7667, allocations: 141.5 kB / 1.37 GB, free: 7.703 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.7667, allocations: 51.41 kB / 1.37 GB, free: 7.641 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.7669, allocations: 190.4 kB / 1.37 GB, free: 7.445 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.7669, allocations: 29.7 kB / 1.37 GB, free: 7.41 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.767, allocations: 116 kB / 1.37 GB, free: 7.293 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.767, allocations: 19.81 kB / 1.371 GB, free: 7.273 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.7671, allocations: 25.7 kB / 1.371 GB, free: 7.242 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7672, allocations: 322.8 kB / 1.371 GB, free: 6.918 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.7673, allocations: 35.92 kB / 1.371 GB, free: 6.883 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.644e-05/0.7674, allocations: 35.97 kB / 1.371 GB, free: 6.848 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.7676, allocations: 76.81 kB / 1.371 GB, free: 6.77 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7676, allocations: 0 / 1.371 GB, free: 6.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002629/0.7679, allocations: 114.1 kB / 1.371 GB, free: 6.652 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7679, allocations: 8 kB / 1.371 GB, free: 6.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.7679, allocations: 0 / 1.371 GB, free: 6.645 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.7679, allocations: 3.938 kB / 1.371 GB, free: 6.641 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.7681, allocations: 23.92 kB / 1.371 GB, free: 6.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.7681, allocations: 0 / 1.371 GB, free: 6.617 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.7682, allocations: 15.89 kB / 1.371 GB, free: 6.602 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7682, allocations: 8.062 kB / 1.371 GB, free: 6.594 MB / 1.092 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 9.713e-05/0.7683, allocations: 121.8 kB / 1.371 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.7683, allocations: 11.91 kB / 1.371 GB, free: 6.453 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.7686, allocations: 131 kB / 1.371 GB, free: 6.312 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.7686, allocations: 3.984 kB / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7686, allocations: 0 / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7686, allocations: 0 / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.7689, allocations: 225.5 kB / 1.372 GB, free: 6.039 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7689, allocations: 3.938 kB / 1.372 GB, free: 6.035 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.769, allocations: 19.98 kB / 1.372 GB, free: 6.016 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.769, allocations: 0 / 1.372 GB, free: 6.016 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.769, allocations: 0 / 1.372 GB, free: 6.016 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.769, allocations: 0 / 1.372 GB, free: 6.016 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.769, allocations: 8 kB / 1.372 GB, free: 6.008 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.7693, allocations: 207.4 kB / 1.372 GB, free: 5.789 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.7694, allocations: 96.98 kB / 1.372 GB, free: 5.676 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.7694, allocations: 0 / 1.372 GB, free: 5.676 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7695, allocations: 7.984 kB / 1.372 GB, free: 5.668 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.7696, allocations: 7.938 kB / 1.372 GB, free: 5.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.7696, allocations: 7.938 kB / 1.372 GB, free: 5.652 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001153/0.7697, allocations: 140.2 kB / 1.372 GB, free: 5.516 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.7697, allocations: 0 / 1.372 GB, free: 5.516 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002176/0.7699, allocations: 23.95 kB / 1.372 GB, free: 5.492 MB / 1.092 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.0006312/0.7706, allocations: 0.748 MB / 1.373 GB, free: 4.715 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.7708, allocations: 79.89 kB / 1.373 GB, free: 4.637 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7708, allocations: 0 / 1.373 GB, free: 4.637 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.7709, allocations: 39.97 kB / 1.373 GB, free: 4.598 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.7713, allocations: 26.05 kB / 1.373 GB, free: 4.574 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.7732, allocations: 1.762 MB / 1.375 GB, free: 2.738 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.7735, allocations: 0.7118 MB / 1.375 GB, free: 2 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.7736, allocations: 16.88 kB / 1.375 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.7737, allocations: 35.64 kB / 1.375 GB, free: 1.949 MB / 1.092 GB Notification: Performance of SimCode: time 2.165e-06/0.7737, allocations: 0 / 1.375 GB, free: 1.949 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.774/4.548, allocations: 3.212 MB / 1.379 GB, free: 14.87 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/16.73, allocations: 14.67 kB / 1.379 GB, free: 14.86 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches