Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.002002/0.002002, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00195/0.00195, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.473 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.794/2.794, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 0.8687 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7155, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1725/0.8881, allocations: 146.9 MB / 1.16 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.8899, allocations: 1.129 MB / 1.161 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.8901, allocations: 0 / 1.161 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.8905, allocations: 59.72 kB / 1.161 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.8915, allocations: 266.9 kB / 1.162 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.8919, allocations: 159.5 kB / 1.162 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.8925, allocations: 223.4 kB / 1.162 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.8927, allocations: 51.08 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.8928, allocations: 51.78 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.8929, allocations: 67.69 kB / 1.162 GB, free: 13.26 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.8929, allocations: 12 kB / 1.162 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.8937, allocations: 387.2 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.8938, allocations: 23.92 kB / 1.163 GB, free: 12.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.8938, allocations: 71.59 kB / 1.163 GB, free: 12.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.8944, allocations: 299.2 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8944, allocations: 7.938 kB / 1.163 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8944, allocations: 0 / 1.163 GB, free: 12.47 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.8944, allocations: 0 / 1.163 GB, free: 12.47 MB / 0.92 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.0007902/0.8952, allocations: 466.9 kB / 1.163 GB, free: 11.97 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.8953, allocations: 8.031 kB / 1.163 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.8956, allocations: 36.72 kB / 1.163 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.8959, allocations: 209.5 kB / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.8959, allocations: 7.938 kB / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.896, allocations: 12 kB / 1.164 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.8963, allocations: 119.3 kB / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8963, allocations: 7.984 kB / 1.164 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.8963, allocations: 4 kB / 1.164 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8963, allocations: 0 / 1.164 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.8966, allocations: 99.88 kB / 1.164 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.8975, allocations: 460 kB / 1.164 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.8977, allocations: 90.55 kB / 1.164 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.8978, allocations: 36.95 kB / 1.164 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.8979, allocations: 0 / 1.164 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.8979, allocations: 42.55 kB / 1.164 GB, free: 10.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.547e-06/0.8979, allocations: 0 / 1.164 GB, free: 10.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004674/0.8984, allocations: 137.5 kB / 1.165 GB, free: 10.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.8985, allocations: 51.41 kB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.8987, allocations: 190.9 kB / 1.165 GB, free: 10.35 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.8987, allocations: 25.7 kB / 1.165 GB, free: 10.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.8988, allocations: 119.9 kB / 1.165 GB, free: 10.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.8988, allocations: 23.7 kB / 1.165 GB, free: 10.17 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.8989, allocations: 21.72 kB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.8991, allocations: 330.7 kB / 1.165 GB, free: 9.812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.8992, allocations: 39.97 kB / 1.165 GB, free: 9.773 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.8993, allocations: 27.98 kB / 1.165 GB, free: 9.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.8995, allocations: 76.75 kB / 1.165 GB, free: 9.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8995, allocations: 0 / 1.165 GB, free: 9.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002795/0.8998, allocations: 113.6 kB / 1.166 GB, free: 9.551 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8999, allocations: 4 kB / 1.166 GB, free: 9.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8999, allocations: 0 / 1.166 GB, free: 9.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8999, allocations: 4 kB / 1.166 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.9, allocations: 15.98 kB / 1.166 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9, allocations: 0 / 1.166 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.9002, allocations: 23.83 kB / 1.166 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.9002, allocations: 0 / 1.166 GB, free: 9.504 MB / 0.92 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.0001121/0.9003, allocations: 125.7 kB / 1.166 GB, free: 9.371 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.9003, allocations: 15.91 kB / 1.166 GB, free: 9.355 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.9007, allocations: 131.5 kB / 1.166 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9007, allocations: 0 / 1.166 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.9007, allocations: 0 / 1.166 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9007, allocations: 0 / 1.166 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.901, allocations: 221.5 kB / 1.166 GB, free: 8.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.901, allocations: 0 / 1.166 GB, free: 8.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.9011, allocations: 15.98 kB / 1.166 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9011, allocations: 7.938 kB / 1.166 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9011, allocations: 0 / 1.166 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9011, allocations: 0 / 1.166 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9011, allocations: 80 / 1.166 GB, free: 8.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.9015, allocations: 219.3 kB / 1.166 GB, free: 8.703 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.9016, allocations: 92.86 kB / 1.166 GB, free: 8.594 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.9016, allocations: 4 kB / 1.166 GB, free: 8.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.9017, allocations: 7.984 kB / 1.166 GB, free: 8.582 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.9018, allocations: 8 kB / 1.166 GB, free: 8.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.9018, allocations: 0 / 1.166 GB, free: 8.574 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001317/0.902, allocations: 137.2 kB / 1.167 GB, free: 8.441 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.902, allocations: 0 / 1.167 GB, free: 8.441 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002611/0.9022, allocations: 24 kB / 1.167 GB, free: 8.418 MB / 0.92 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.0001917/0.9024, allocations: 119.6 kB / 1.167 GB, free: 8.293 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.9027, allocations: 83.88 kB / 1.167 GB, free: 8.211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9027, allocations: 3.938 kB / 1.167 GB, free: 8.207 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.9029, allocations: 35.92 kB / 1.167 GB, free: 8.172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.9033, allocations: 35.97 kB / 1.167 GB, free: 8.137 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.904, allocations: 296.8 kB / 1.167 GB, free: 7.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.9043, allocations: 0.7079 MB / 1.168 GB, free: 7.086 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.9044, allocations: 16.88 kB / 1.168 GB, free: 7.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.9045, allocations: 11.44 kB / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.9045, allocations: 0 / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of Templates: time 0.005036/0.9095, allocations: 1.53 MB / 1.169 GB, free: 5.551 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches