Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001631/0.001631, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001839/0.001839, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7206, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1764/0.8971, allocations: 149 MB / 1.234 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.8988, allocations: 1.142 MB / 1.235 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.8989, allocations: 1.781 kB / 1.235 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.8994, allocations: 52.11 kB / 1.235 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.9004, allocations: 318.8 kB / 1.236 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.9009, allocations: 166.2 kB / 1.236 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.9014, allocations: 218.8 kB / 1.236 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.9016, allocations: 60.48 kB / 1.236 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.9017, allocations: 51.89 kB / 1.236 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.9018, allocations: 60.22 kB / 1.236 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.9018, allocations: 16.06 kB / 1.236 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.9025, allocations: 369.5 kB / 1.237 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.9026, allocations: 33.19 kB / 1.237 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.9027, allocations: 60.95 kB / 1.237 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.9033, allocations: 297.9 kB / 1.237 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9033, allocations: 0 / 1.237 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9033, allocations: 1.156 kB / 1.237 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9033, allocations: 0 / 1.237 GB, free: 3.688 MB / 0.9669 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.0007323/0.9041, allocations: 465.5 kB / 1.237 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9041, allocations: 9.062 kB / 1.237 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.9045, allocations: 43.53 kB / 1.237 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.9048, allocations: 206 kB / 1.238 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.9048, allocations: 6.562 kB / 1.238 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.9048, allocations: 11.34 kB / 1.238 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.9051, allocations: 122.9 kB / 1.238 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.9051, allocations: 3.938 kB / 1.238 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.9052, allocations: 5.438 kB / 1.238 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9052, allocations: 2.625 kB / 1.238 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.9054, allocations: 88.78 kB / 1.238 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.9061, allocations: 462.9 kB / 1.238 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.9063, allocations: 86.11 kB / 1.238 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.9065, allocations: 39.12 kB / 1.238 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.9065, allocations: 5.031 kB / 1.238 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.9065, allocations: 31.72 kB / 1.238 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 6.192e-06/0.9065, allocations: 7.984 kB / 1.238 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004448/0.907, allocations: 146.3 kB / 1.239 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.907, allocations: 52.53 kB / 1.239 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.9072, allocations: 182.5 kB / 1.239 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.9072, allocations: 30.8 kB / 1.239 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.9073, allocations: 117.9 kB / 1.239 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.9073, allocations: 22.14 kB / 1.239 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.9074, allocations: 23.28 kB / 1.239 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.9075, allocations: 326.4 kB / 1.239 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.9076, allocations: 32.09 kB / 1.239 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.9077, allocations: 33.23 kB / 1.239 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.9079, allocations: 77.31 kB / 1.239 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.908, allocations: 5.375 kB / 1.239 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002751/0.9082, allocations: 113.7 kB / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9083, allocations: 5.5 kB / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9083, allocations: 0 / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9083, allocations: 1.375 kB / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.9084, allocations: 16.36 kB / 1.24 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.9084, allocations: 5.312 kB / 1.24 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.9085, allocations: 17.33 kB / 1.24 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.9086, allocations: 13.31 kB / 1.24 GB, free: 1.301 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 8.505e-05/0.9087, allocations: 115.3 kB / 1.24 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.9087, allocations: 18.69 kB / 1.24 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.909, allocations: 121.6 kB / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9091, allocations: 0 / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.9091, allocations: 1.375 kB / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.9091, allocations: 91.75 kB / 1.24 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.9091, allocations: 13.31 kB / 1.24 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.9093, allocations: 8.062 kB / 1.24 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.9093, allocations: 9.297 kB / 1.24 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003332/0.9097, allocations: 184.9 kB / 1.24 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003276/0.91, allocations: 291.9 kB / 1.24 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000111/0.9101, allocations: 39.16 kB / 1.24 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001029/0.9102, allocations: 133.5 kB / 1.241 GB, free: 448 kB / 0.9669 GB Notification: Performance of Backend: time 5.61e-07/0.9102, allocations: 1.375 kB / 1.241 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006866/0.9109, allocations: 211.4 kB / 1.241 GB, free: 312 kB / 0.9669 GB Notification: Performance of SimCode: time 0.0007552/0.9117, allocations: 0.6873 MB / 1.241 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of Templates: time 0.005836/0.9176, allocations: 2.518 MB / 1.244 GB, free: 14.37 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches