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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009351, 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.006343/0.006343, 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12.22 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3191, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1609/0.48, allocations: 144.9 MB / 1.2 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.4816, allocations: 1.129 MB / 1.201 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.4818, allocations: 11.94 kB / 1.201 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.4821, allocations: 43.8 kB / 1.201 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008111/0.483, allocations: 282.8 kB / 1.202 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.4833, allocations: 151.5 kB / 1.202 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.4838, allocations: 231.3 kB / 1.202 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.484, allocations: 53.38 kB / 1.202 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.4841, allocations: 35.86 kB / 1.202 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.4841, allocations: 47.66 kB / 1.202 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.4842, allocations: 4 kB / 1.202 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.4848, allocations: 411.1 kB / 1.202 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.4849, allocations: 23.84 kB / 1.202 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.485, allocations: 73.39 kB / 1.203 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.4854, allocations: 299.1 kB / 1.203 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4855, allocations: 8 kB / 1.203 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4855, allocations: 0 / 1.203 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.4855, allocations: 0 / 1.203 GB, free: 1.324 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.0006431/0.4861, allocations: 439 kB / 1.203 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4862, allocations: 12.03 kB / 1.203 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.4865, allocations: 40.72 kB / 1.203 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.4867, allocations: 205.9 kB / 1.203 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4867, allocations: 11.94 kB / 1.203 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.4868, allocations: 15.94 kB / 1.204 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.4871, allocations: 118.7 kB / 1.204 GB, free: 420 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4871, allocations: 4 kB / 1.204 GB, free: 416 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4871, allocations: 7.984 kB / 1.204 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4871, allocations: 3.984 kB / 1.204 GB, free: 404 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.4874, allocations: 103.9 kB / 1.204 GB, free: 300 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.4881, allocations: 452.1 kB / 1.204 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.4884, allocations: 102.5 kB / 1.204 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4885, allocations: 44.89 kB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4885, allocations: 0 / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4885, allocations: 34.56 kB / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4885, allocations: 0 / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004951/0.489, allocations: 165.5 kB / 1.205 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4891, allocations: 55.34 kB / 1.205 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.4893, allocations: 178.9 kB / 1.205 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4893, allocations: 37.7 kB / 1.205 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.4894, allocations: 115.9 kB / 1.205 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.4894, allocations: 23.64 kB / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.4894, allocations: 17.66 kB / 1.205 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4896, allocations: 326.8 kB / 1.205 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4897, allocations: 35.98 kB / 1.205 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4898, allocations: 47.91 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.49, allocations: 80.83 kB / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.49, allocations: 0 / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002956/0.4903, allocations: 133.5 kB / 1.206 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4904, allocations: 9.094 kB / 1.206 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4904, allocations: 0 / 1.206 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4904, allocations: 0 / 1.206 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.4905, allocations: 19.98 kB / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4905, allocations: 4 kB / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4907, allocations: 19.89 kB / 1.206 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4907, allocations: 0 / 1.206 GB, free: 14.3 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.0001/0.4908, allocations: 129.7 kB / 1.206 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.4908, allocations: 11.81 kB / 1.206 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.4912, allocations: 139 kB / 1.206 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4912, allocations: 0 / 1.206 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4912, allocations: 0 / 1.206 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4912, allocations: 0 / 1.206 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.4915, allocations: 225.5 kB / 1.206 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4915, allocations: 4 kB / 1.206 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.4916, allocations: 15.98 kB / 1.206 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4916, allocations: 4 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4916, allocations: 4 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4916, allocations: 4 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4916, allocations: 0 / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.492, allocations: 223.3 kB / 1.206 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.4921, allocations: 92.92 kB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4921, allocations: 0 / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.4922, allocations: 11.98 kB / 1.206 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.4923, allocations: 4 kB / 1.206 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.4923, allocations: 4 kB / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001344/0.4925, allocations: 131.2 kB / 1.207 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.823e-06/0.4925, allocations: 4 kB / 1.207 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002705/0.4927, allocations: 27.94 kB / 1.207 GB, free: 13.18 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.0001876/0.4929, allocations: 99.25 kB / 1.207 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.4933, allocations: 92.53 kB / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4933, allocations: 0 / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4934, allocations: 47.97 kB / 1.207 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.4939, allocations: 39.89 kB / 1.207 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.4945, allocations: 317.4 kB / 1.207 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.4949, allocations: 0.7121 MB / 1.208 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.582e-05/0.495, allocations: 12.89 kB / 1.208 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.495, allocations: 11.44 kB / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.495, allocations: 0 / 1.208 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.004854/0.4999, allocations: 1.458 MB / 1.209 GB, free: 10.36 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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