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: 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_11_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_11_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.001565/0.001565, allocations: 111.6 kB / 15.99 MB, free: 6.355 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.001554/0.001554, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.678/2.678, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.001921, allocations: 70.38 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3293, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7125/1.042, allocations: 146.9 MB / 1.208 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001679/1.044, allocations: 1.132 MB / 1.209 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/1.044, allocations: 6.188 kB / 1.209 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/1.044, allocations: 42.92 kB / 1.209 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000761/1.045, allocations: 280.8 kB / 1.209 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/1.045, allocations: 151 kB / 1.209 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/1.046, allocations: 226 kB / 1.209 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.046, allocations: 58.08 kB / 1.209 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/1.046, allocations: 46.83 kB / 1.209 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/1.046, allocations: 62.88 kB / 1.21 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/1.046, allocations: 14.84 kB / 1.21 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/1.047, allocations: 388.2 kB / 1.21 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/1.047, allocations: 33.56 kB / 1.21 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/1.047, allocations: 63.91 kB / 1.21 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/1.047, allocations: 203.2 kB / 1.21 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.047, allocations: 0 / 1.21 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.047, allocations: 1.062 kB / 1.21 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.047, allocations: 0 / 1.21 GB, free: 14.77 MB / 0.9356 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.000735/1.048, allocations: 474.1 kB / 1.211 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.048, allocations: 8.875 kB / 1.211 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/1.048, allocations: 40.72 kB / 1.211 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/1.049, allocations: 202.8 kB / 1.211 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.049, allocations: 12.09 kB / 1.211 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/1.049, allocations: 10.94 kB / 1.211 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/1.049, allocations: 112.2 kB / 1.211 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.049, allocations: 4 kB / 1.211 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.049, allocations: 5.188 kB / 1.211 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.049, allocations: 4.812 kB / 1.211 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/1.049, allocations: 92.31 kB / 1.211 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/1.05, allocations: 465 kB / 1.212 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/1.05, allocations: 93.81 kB / 1.212 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.05, allocations: 34.89 kB / 1.212 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.05, allocations: 1.125 kB / 1.212 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.05, allocations: 39.69 kB / 1.212 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/1.05, allocations: 0 / 1.212 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004482/1.051, allocations: 138.6 kB / 1.212 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/1.051, allocations: 56.52 kB / 1.212 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/1.051, allocations: 181.2 kB / 1.212 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.051, allocations: 26.77 kB / 1.212 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/1.051, allocations: 121.7 kB / 1.212 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/1.051, allocations: 19.47 kB / 1.212 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/1.051, allocations: 26.61 kB / 1.212 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.051, allocations: 325.5 kB / 1.213 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/1.052, allocations: 29.27 kB / 1.213 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/1.052, allocations: 32.75 kB / 1.213 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/1.052, allocations: 85.11 kB / 1.213 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.052, allocations: 1.594 kB / 1.213 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000282/1.052, allocations: 117.4 kB / 1.213 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.052, allocations: 6.75 kB / 1.213 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.052, allocations: 0 / 1.213 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.052, allocations: 1.156 kB / 1.213 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/1.052, allocations: 17.11 kB / 1.213 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.052, allocations: 5.125 kB / 1.213 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/1.053, allocations: 17.53 kB / 1.213 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.053, allocations: 5.172 kB / 1.213 GB, free: 12.39 MB / 0.9356 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.0001072/1.053, allocations: 127.4 kB / 1.213 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/1.053, allocations: 10.53 kB / 1.213 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/1.053, allocations: 125.5 kB / 1.213 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.053, allocations: 5.344 kB / 1.213 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.053, allocations: 0 / 1.213 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.053, allocations: 1.094 kB / 1.213 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/1.053, allocations: 222.4 kB / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.053, allocations: 1.031 kB / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.053, allocations: 16.08 kB / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.053, allocations: 0 / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/1.053, allocations: 1.5 kB / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.053, allocations: 3.938 kB / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.053, allocations: 2.234 kB / 1.213 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/1.054, allocations: 214.2 kB / 1.214 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/1.054, allocations: 95.58 kB / 1.214 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/1.054, allocations: 1.406 kB / 1.214 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.054, allocations: 8.234 kB / 1.214 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/1.054, allocations: 6.281 kB / 1.214 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/1.054, allocations: 2.281 kB / 1.214 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001299/1.054, allocations: 140.3 kB / 1.214 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.014e-06/1.054, allocations: 0 / 1.214 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002414/1.055, allocations: 26.66 kB / 1.214 GB, free: 11.52 MB / 0.9356 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.0001926/1.055, allocations: 104.8 kB / 1.214 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000284/1.055, allocations: 78.36 kB / 1.214 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.055, allocations: 1.438 kB / 1.214 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/1.055, allocations: 44.56 kB / 1.214 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/1.056, allocations: 37.59 kB / 1.214 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/1.056, allocations: 322.5 kB / 1.214 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/1.057, allocations: 0.7104 MB / 1.215 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/1.057, allocations: 13.53 kB / 1.215 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.057, allocations: 1.094 kB / 1.215 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.004017/1.061, allocations: 1.661 MB / 1.217 GB, free: 9.508 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (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 & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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