Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008253/0.008253, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001893/0.001893, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 71.89 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9822/0.9837, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1613/1.145, allocations: 149 MB / 1.353 GB, free: 8.027 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001413/1.146, allocations: 1.133 MB / 1.354 GB, free: 6.891 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/1.147, allocations: 0 / 1.354 GB, free: 6.891 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/1.147, allocations: 55.67 kB / 1.354 GB, free: 6.836 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000718/1.148, allocations: 306.6 kB / 1.355 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/1.148, allocations: 171.3 kB / 1.355 GB, free: 6.367 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004097/1.148, allocations: 221.7 kB / 1.355 GB, free: 6.152 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/1.149, allocations: 61.08 kB / 1.355 GB, free: 6.094 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/1.149, allocations: 51.84 kB / 1.355 GB, free: 6.043 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/1.149, allocations: 55.7 kB / 1.355 GB, free: 5.988 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/1.149, allocations: 12 kB / 1.355 GB, free: 5.977 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/1.149, allocations: 367.2 kB / 1.356 GB, free: 5.617 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/1.149, allocations: 39.84 kB / 1.356 GB, free: 5.578 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/1.15, allocations: 63.67 kB / 1.356 GB, free: 5.516 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004105/1.15, allocations: 288.9 kB / 1.356 GB, free: 5.238 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.15, allocations: 0 / 1.356 GB, free: 5.238 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.452e-06/1.15, allocations: 0 / 1.356 GB, free: 5.238 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.201e-06/1.15, allocations: 4 kB / 1.356 GB, free: 5.234 MB / 1.076 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.0006354/1.151, allocations: 466.8 kB / 1.356 GB, free: 4.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.151, allocations: 12.03 kB / 1.356 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/1.151, allocations: 36.72 kB / 1.356 GB, free: 4.684 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/1.151, allocations: 216 kB / 1.357 GB, free: 4.434 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/1.151, allocations: 11.94 kB / 1.357 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/1.151, allocations: 12 kB / 1.357 GB, free: 4.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/1.152, allocations: 111.2 kB / 1.357 GB, free: 4.297 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.152, allocations: 0 / 1.357 GB, free: 4.297 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.152, allocations: 3.938 kB / 1.357 GB, free: 4.293 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.152, allocations: 4 kB / 1.357 GB, free: 4.289 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/1.152, allocations: 95.94 kB / 1.357 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/1.153, allocations: 456.1 kB / 1.357 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/1.153, allocations: 94.53 kB / 1.357 GB, free: 3.598 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/1.153, allocations: 36.94 kB / 1.357 GB, free: 3.559 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/1.153, allocations: 7.938 kB / 1.357 GB, free: 3.551 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/1.153, allocations: 34.5 kB / 1.357 GB, free: 3.508 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/1.153, allocations: 0 / 1.357 GB, free: 3.508 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004254/1.153, allocations: 145.4 kB / 1.358 GB, free: 3.359 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/1.153, allocations: 51.41 kB / 1.358 GB, free: 3.297 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.154, allocations: 188.1 kB / 1.358 GB, free: 3.105 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.154, allocations: 29.7 kB / 1.358 GB, free: 3.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/1.154, allocations: 116 kB / 1.358 GB, free: 2.953 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/1.154, allocations: 15.72 kB / 1.358 GB, free: 2.938 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/1.154, allocations: 25.7 kB / 1.358 GB, free: 2.906 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.154, allocations: 322.8 kB / 1.358 GB, free: 2.582 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.154, allocations: 35.98 kB / 1.358 GB, free: 2.547 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/1.154, allocations: 39.89 kB / 1.358 GB, free: 2.508 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/1.154, allocations: 77.28 kB / 1.358 GB, free: 2.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.154, allocations: 0 / 1.358 GB, free: 2.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002741/1.155, allocations: 113.5 kB / 1.359 GB, free: 2.312 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.155, allocations: 15.98 kB / 1.359 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.155, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.155, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1.155, allocations: 15.98 kB / 1.359 GB, free: 2.281 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.155, allocations: 7.875 kB / 1.359 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/1.155, allocations: 11.94 kB / 1.359 GB, free: 2.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/1.155, allocations: 4 kB / 1.359 GB, free: 2.258 MB / 1.076 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 9.291e-05/1.155, allocations: 125.8 kB / 1.359 GB, free: 2.125 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/1.155, allocations: 15.81 kB / 1.359 GB, free: 2.109 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/1.155, allocations: 123 kB / 1.359 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/1.155, allocations: 0 / 1.359 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.155, allocations: 0 / 1.359 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.155, allocations: 3.984 kB / 1.359 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/1.156, allocations: 229.5 kB / 1.359 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.156, allocations: 0 / 1.359 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/1.156, allocations: 23.92 kB / 1.359 GB, free: 1.684 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.156, allocations: 0 / 1.359 GB, free: 1.684 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.156, allocations: 4 kB / 1.359 GB, free: 1.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/1.156, allocations: 0 / 1.359 GB, free: 1.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.156, allocations: 4 kB / 1.359 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/1.156, allocations: 203.3 kB / 1.359 GB, free: 1.461 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/1.156, allocations: 96.94 kB / 1.359 GB, free: 1.348 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/1.156, allocations: 0 / 1.359 GB, free: 1.348 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.156, allocations: 8 kB / 1.359 GB, free: 1.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.156, allocations: 7.984 kB / 1.359 GB, free: 1.332 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/1.156, allocations: 0 / 1.359 GB, free: 1.332 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001099/1.156, allocations: 143.2 kB / 1.36 GB, free: 1.191 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.156, allocations: 3.938 kB / 1.36 GB, free: 1.188 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002523/1.157, allocations: 20 kB / 1.36 GB, free: 1.168 MB / 1.076 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.0001662/1.157, allocations: 107.2 kB / 1.36 GB, free: 1.051 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002659/1.157, allocations: 79.88 kB / 1.36 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.157, allocations: 0 / 1.36 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/1.157, allocations: 39.91 kB / 1.36 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.158, allocations: 33.53 kB / 1.36 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/1.158, allocations: 252.6 kB / 1.36 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.158, allocations: 0.708 MB / 1.361 GB, free: 15.89 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 6.588e-05/1.158, allocations: 12.89 kB / 1.361 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/1.159, allocations: 15.44 kB / 1.361 GB, free: 15.87 MB / 1.092 GB Notification: Performance of SimCode: time 1.482e-06/1.159, allocations: 0 / 1.361 GB, free: 15.87 MB / 1.092 GB Notification: Performance of Templates: time 0.004559/1.163, allocations: 1.615 MB / 1.362 GB, free: 14.28 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches