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.001741/0.001741, allocations: 108 kB / 15.99 MB, free: 6.363 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.00175/0.00175, allocations: 191.5 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.496/2.496, allocations: 437.1 MB / 0.7107 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.38 kB / 0.8694 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3395, allocations: 151.6 MB / 1.017 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7449/1.084, allocations: 146.9 MB / 1.161 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.001858/1.086, allocations: 1.132 MB / 1.162 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/1.087, allocations: 2.594 kB / 1.162 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003943/1.087, allocations: 43.72 kB / 1.162 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009891/1.088, allocations: 284.6 kB / 1.162 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/1.089, allocations: 151.5 kB / 1.162 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005518/1.089, allocations: 220.3 kB / 1.163 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/1.089, allocations: 54.33 kB / 1.163 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/1.089, allocations: 56.09 kB / 1.163 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/1.09, allocations: 58.7 kB / 1.163 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/1.09, allocations: 11.38 kB / 1.163 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006469/1.09, allocations: 388.4 kB / 1.163 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/1.09, allocations: 36.02 kB / 1.163 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/1.09, allocations: 62.75 kB / 1.163 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/1.091, allocations: 201.5 kB / 1.164 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.091, allocations: 1.062 kB / 1.164 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.983e-06/1.091, allocations: 0 / 1.164 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.091, allocations: 0 / 1.164 GB, free: 5.488 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.000763/1.092, allocations: 468.6 kB / 1.164 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.092, allocations: 10.77 kB / 1.164 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/1.092, allocations: 36.23 kB / 1.164 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/1.092, allocations: 211.7 kB / 1.164 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/1.092, allocations: 8.031 kB / 1.164 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/1.092, allocations: 11.91 kB / 1.164 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/1.093, allocations: 119.5 kB / 1.164 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/1.093, allocations: 5.375 kB / 1.164 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.093, allocations: 4 kB / 1.164 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.093, allocations: 5.125 kB / 1.164 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/1.093, allocations: 94.64 kB / 1.164 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/1.094, allocations: 464 kB / 1.165 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/1.094, allocations: 87.47 kB / 1.165 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/1.094, allocations: 37.89 kB / 1.165 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/1.094, allocations: 6.156 kB / 1.165 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/1.094, allocations: 35.59 kB / 1.165 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.094, allocations: 0 / 1.165 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004632/1.095, allocations: 144.8 kB / 1.165 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/1.095, allocations: 52.53 kB / 1.165 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/1.095, allocations: 185.1 kB / 1.165 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/1.095, allocations: 25.7 kB / 1.165 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.095, allocations: 119.8 kB / 1.166 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/1.095, allocations: 19.12 kB / 1.166 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/1.095, allocations: 26.3 kB / 1.166 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.095, allocations: 328.7 kB / 1.166 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/1.095, allocations: 31.81 kB / 1.166 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/1.095, allocations: 35.03 kB / 1.166 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/1.096, allocations: 77.12 kB / 1.166 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.096, allocations: 1.281 kB / 1.166 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002801/1.096, allocations: 120 kB / 1.166 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.096, allocations: 4.312 kB / 1.166 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.096, allocations: 1.125 kB / 1.166 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.096, allocations: 0 / 1.166 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/1.096, allocations: 23.94 kB / 1.166 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.096, allocations: 0 / 1.166 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/1.096, allocations: 16.25 kB / 1.166 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.096, allocations: 2.25 kB / 1.166 GB, free: 3.348 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.000109/1.096, allocations: 131.6 kB / 1.166 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/1.096, allocations: 8.906 kB / 1.166 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/1.097, allocations: 123.4 kB / 1.166 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.097, allocations: 0 / 1.166 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.097, allocations: 5 kB / 1.166 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.097, allocations: 0 / 1.166 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/1.097, allocations: 228.2 kB / 1.167 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.097, allocations: 4 kB / 1.167 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.097, allocations: 20.03 kB / 1.167 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.097, allocations: 1.5 kB / 1.167 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/1.097, allocations: 0 / 1.167 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.097, allocations: 1.156 kB / 1.167 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.097, allocations: 0 / 1.167 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/1.097, allocations: 217.5 kB / 1.167 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/1.098, allocations: 94.3 kB / 1.167 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/1.098, allocations: 1.219 kB / 1.167 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/1.098, allocations: 10.11 kB / 1.167 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/1.098, allocations: 6.469 kB / 1.167 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.098, allocations: 0.9688 kB / 1.167 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001198/1.098, allocations: 131.9 kB / 1.167 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 0 / 1.167 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002471/1.098, allocations: 23.44 kB / 1.167 GB, free: 2.547 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.000183/1.098, allocations: 112.3 kB / 1.167 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002879/1.099, allocations: 75.3 kB / 1.167 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.099, allocations: 0 / 1.167 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/1.099, allocations: 39.53 kB / 1.167 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/1.099, allocations: 42.67 kB / 1.167 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/1.1, allocations: 324.6 kB / 1.168 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/1.1, allocations: 0.7139 MB / 1.168 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/1.1, allocations: 17.62 kB / 1.168 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/1.1, allocations: 0 / 1.168 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of Templates: time 0.003734/1.104, allocations: 1.67 MB / 1.17 GB, free: 1.273 MB / 0.8731 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/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