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.001652/0.001652, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001857/0.001857, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.427/2.427, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 64.59 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3189, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7352/1.054, allocations: 149 MB / 1.163 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.001724/1.056, allocations: 1.13 MB / 1.165 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/1.056, allocations: 2.562 kB / 1.165 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004128/1.057, allocations: 55.25 kB / 1.165 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/1.058, allocations: 309.1 kB / 1.165 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/1.058, allocations: 162.3 kB / 1.165 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005628/1.059, allocations: 223.5 kB / 1.165 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/1.059, allocations: 54.72 kB / 1.165 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/1.059, allocations: 50.17 kB / 1.165 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/1.059, allocations: 60.11 kB / 1.165 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/1.059, allocations: 11.59 kB / 1.165 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/1.06, allocations: 373 kB / 1.166 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/1.06, allocations: 28.81 kB / 1.166 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/1.06, allocations: 68.59 kB / 1.166 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/1.061, allocations: 283.7 kB / 1.166 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.061, allocations: 3.938 kB / 1.166 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/1.061, allocations: 5.062 kB / 1.166 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.134e-06/1.061, allocations: 0 / 1.166 GB, free: 3.852 MB / 0.8731 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.0008396/1.062, allocations: 472.9 kB / 1.167 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.062, allocations: 10.42 kB / 1.167 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/1.062, allocations: 31.44 kB / 1.167 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/1.062, allocations: 204 kB / 1.167 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/1.062, allocations: 14.25 kB / 1.167 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/1.062, allocations: 7.469 kB / 1.167 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/1.063, allocations: 123.1 kB / 1.167 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.063, allocations: 4 kB / 1.167 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.063, allocations: 5.281 kB / 1.167 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/1.063, allocations: 2.562 kB / 1.167 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/1.063, allocations: 92.95 kB / 1.167 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/1.064, allocations: 464.1 kB / 1.168 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/1.064, allocations: 91.11 kB / 1.168 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/1.064, allocations: 41.41 kB / 1.168 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.064, allocations: 0.9688 kB / 1.168 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.064, allocations: 35.62 kB / 1.168 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.064, allocations: 0 / 1.168 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004815/1.065, allocations: 141.8 kB / 1.168 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.065, allocations: 52.47 kB / 1.168 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/1.065, allocations: 182.2 kB / 1.168 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/1.065, allocations: 30.83 kB / 1.168 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/1.065, allocations: 126.2 kB / 1.168 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/1.065, allocations: 16.84 kB / 1.168 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/1.065, allocations: 23.47 kB / 1.168 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.065, allocations: 334.9 kB / 1.169 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/1.065, allocations: 31 kB / 1.169 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/1.066, allocations: 31.36 kB / 1.169 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/1.066, allocations: 76.31 kB / 1.169 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.066, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002897/1.066, allocations: 120 kB / 1.169 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.066, allocations: 5.781 kB / 1.169 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.066, allocations: 0 / 1.169 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.066, allocations: 0 / 1.169 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.066, allocations: 22.33 kB / 1.169 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.066, allocations: 1.062 kB / 1.169 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.066, allocations: 18.95 kB / 1.169 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/1.066, allocations: 3.859 kB / 1.169 GB, free: 1.707 MB / 0.8731 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.0001034/1.067, allocations: 125.6 kB / 1.169 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/1.067, allocations: 8.906 kB / 1.169 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/1.067, allocations: 124.1 kB / 1.169 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.067, allocations: 1.125 kB / 1.169 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.067, allocations: 5.094 kB / 1.169 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/1.067, allocations: 2.531 kB / 1.169 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/1.067, allocations: 225.9 kB / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.067, allocations: 1.188 kB / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/1.067, allocations: 17.31 kB / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.067, allocations: 0 / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/1.067, allocations: 1.375 kB / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.067, allocations: 80 / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.067, allocations: 5.203 kB / 1.169 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/1.068, allocations: 215.1 kB / 1.17 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/1.068, allocations: 94.52 kB / 1.17 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/1.068, allocations: 5.125 kB / 1.17 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.068, allocations: 13.89 kB / 1.17 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/1.068, allocations: 5.328 kB / 1.17 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.068, allocations: 1.344 kB / 1.17 GB, free: 1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001158/1.068, allocations: 141.2 kB / 1.17 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.068, allocations: 0 / 1.17 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002543/1.068, allocations: 18.88 kB / 1.17 GB, free: 0.9023 MB / 0.8731 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.000189/1.069, allocations: 107.2 kB / 1.17 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002937/1.069, allocations: 78.47 kB / 1.17 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.069, allocations: 4 kB / 1.17 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.069, allocations: 37.47 kB / 1.17 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/1.07, allocations: 37.69 kB / 1.17 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/1.07, allocations: 286.6 kB / 1.17 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/1.071, allocations: 0.7135 MB / 1.171 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/1.071, allocations: 18.12 kB / 1.171 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/1.071, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of Templates: time 0.003512/1.074, allocations: 1.658 MB / 1.173 GB, free: 15.56 MB / 0.8887 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=480 -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/jenkins1/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