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: 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.001026/0.001026, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001349/0.001349, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 12.42 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2605, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1353/0.3959, allocations: 135.1 MB / 1.19 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3972, allocations: 1.056 MB / 1.191 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3973, allocations: 3.938 kB / 1.191 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3976, allocations: 23.83 kB / 1.191 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.3982, allocations: 203 kB / 1.191 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.3985, allocations: 139.5 kB / 1.191 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.3989, allocations: 219.3 kB / 1.192 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.399, allocations: 41.28 kB / 1.192 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.3991, allocations: 35.84 kB / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.3992, allocations: 47.72 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3992, allocations: 8 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.3996, allocations: 287.5 kB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.3997, allocations: 19.91 kB / 1.192 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.3997, allocations: 45.64 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.4, allocations: 199.9 kB / 1.192 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4, allocations: 0 / 1.192 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4, allocations: 0 / 1.192 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4, allocations: 0 / 1.192 GB, free: 11.56 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.0005429/0.4006, allocations: 452.7 kB / 1.193 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.4006, allocations: 8.031 kB / 1.193 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.4009, allocations: 43.72 kB / 1.193 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4011, allocations: 210.7 kB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4011, allocations: 12 kB / 1.193 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.4011, allocations: 8 kB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.4014, allocations: 127.1 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4014, allocations: 0 / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4014, allocations: 4 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4015, allocations: 4 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.4017, allocations: 107.9 kB / 1.193 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.4024, allocations: 448.2 kB / 1.194 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.4026, allocations: 98.53 kB / 1.194 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4027, allocations: 40.95 kB / 1.194 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4027, allocations: 0 / 1.194 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.4028, allocations: 42.5 kB / 1.194 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.4028, allocations: 0 / 1.194 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004226/0.4032, allocations: 165.4 kB / 1.194 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4032, allocations: 51.41 kB / 1.194 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.4034, allocations: 179.9 kB / 1.194 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4034, allocations: 25.7 kB / 1.194 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.4035, allocations: 116 kB / 1.194 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4035, allocations: 23.66 kB / 1.194 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.4035, allocations: 0 / 1.194 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.4036, allocations: 322.8 kB / 1.195 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.4037, allocations: 43.97 kB / 1.195 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4039, allocations: 39.97 kB / 1.195 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.404, allocations: 43.86 kB / 1.195 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.404, allocations: 4 kB / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002757/0.4043, allocations: 129.9 kB / 1.195 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4043, allocations: 8 kB / 1.195 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4043, allocations: 0 / 1.195 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4043, allocations: 3.984 kB / 1.195 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4045, allocations: 23.98 kB / 1.195 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4045, allocations: 4.062 kB / 1.195 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.4046, allocations: 11.98 kB / 1.195 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4046, allocations: 4 kB / 1.195 GB, free: 8.598 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/0.4047, allocations: 125.7 kB / 1.195 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.4047, allocations: 11.81 kB / 1.195 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.405, allocations: 143 kB / 1.195 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4051, allocations: 0 / 1.195 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4051, allocations: 0 / 1.195 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4051, allocations: 0 / 1.195 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4053, allocations: 217.5 kB / 1.195 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4053, allocations: 7.938 kB / 1.195 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4054, allocations: 19.98 kB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.4054, allocations: 0 / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4054, allocations: 4 kB / 1.195 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4054, allocations: 0 / 1.195 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4054, allocations: 3.938 kB / 1.195 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.4057, allocations: 231.2 kB / 1.196 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.4058, allocations: 85.02 kB / 1.196 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.4058, allocations: 0 / 1.196 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.406, allocations: 15.98 kB / 1.196 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.406, allocations: 7.984 kB / 1.196 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.406, allocations: 4 kB / 1.196 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4061, allocations: 140.2 kB / 1.196 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4061, allocations: 0 / 1.196 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002572/0.4064, allocations: 23.91 kB / 1.196 GB, free: 7.48 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.4065, allocations: 103.2 kB / 1.196 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4068, allocations: 91.89 kB / 1.196 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4068, allocations: 0 / 1.196 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.4069, allocations: 43.92 kB / 1.196 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.4074, allocations: 43.86 kB / 1.196 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.4079, allocations: 309.4 kB / 1.196 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4081, allocations: 0.7082 MB / 1.197 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.4082, allocations: 12.89 kB / 1.197 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.4082, allocations: 11.44 kB / 1.197 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.4082, allocations: 0 / 1.197 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of Templates: time 0.004044/0.4123, allocations: 1.421 MB / 1.199 GB, free: 4.699 MB / 0.9512 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