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.001299/0.001299, allocations: 104.6 kB / 16.41 MB, free: 6.465 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.001252/0.001252, allocations: 187 kB / 17.34 MB, free: 5.719 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.08 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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9075/0.9089, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1658/1.075, allocations: 149 MB / 1.313 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001588/1.076, allocations: 1.125 MB / 1.314 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/1.077, allocations: 4 kB / 1.314 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003192/1.077, allocations: 59.59 kB / 1.314 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000946/1.078, allocations: 314.7 kB / 1.314 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/1.078, allocations: 167.3 kB / 1.314 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/1.079, allocations: 223.2 kB / 1.315 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/1.079, allocations: 61.08 kB / 1.315 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.342e-05/1.079, allocations: 43.86 kB / 1.315 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/1.079, allocations: 63.69 kB / 1.315 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/1.079, allocations: 16 kB / 1.315 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/1.08, allocations: 367.2 kB / 1.315 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/1.08, allocations: 35.91 kB / 1.315 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/1.08, allocations: 59.67 kB / 1.315 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/1.081, allocations: 292.8 kB / 1.316 GB, free: 11.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.081, allocations: 0 / 1.316 GB, free: 11.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/1.081, allocations: 3.938 kB / 1.316 GB, free: 11.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.081, allocations: 0 / 1.316 GB, free: 11.46 MB / 1.045 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.0007333/1.081, allocations: 466.9 kB / 1.316 GB, free: 10.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.082, allocations: 12.92 kB / 1.316 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/1.082, allocations: 40.66 kB / 1.316 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/1.082, allocations: 210.5 kB / 1.316 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/1.082, allocations: 11.94 kB / 1.316 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/1.082, allocations: 8 kB / 1.316 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/1.083, allocations: 129.5 kB / 1.316 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.083, allocations: 0 / 1.316 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.083, allocations: 7.938 kB / 1.316 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.083, allocations: 4 kB / 1.316 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/1.083, allocations: 87.94 kB / 1.316 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/1.084, allocations: 464.1 kB / 1.317 GB, free: 9.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/1.084, allocations: 86.55 kB / 1.317 GB, free: 9.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.084, allocations: 40.88 kB / 1.317 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/1.084, allocations: 0 / 1.317 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.084, allocations: 34.56 kB / 1.317 GB, free: 9.727 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/1.084, allocations: 4 kB / 1.317 GB, free: 9.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004116/1.084, allocations: 137.5 kB / 1.317 GB, free: 9.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.084, allocations: 55.39 kB / 1.317 GB, free: 9.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/1.085, allocations: 182.4 kB / 1.317 GB, free: 9.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.085, allocations: 25.7 kB / 1.317 GB, free: 9.297 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/1.085, allocations: 116 kB / 1.318 GB, free: 9.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/1.085, allocations: 23.69 kB / 1.318 GB, free: 9.156 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/1.085, allocations: 25.72 kB / 1.318 GB, free: 9.125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.085, allocations: 322.8 kB / 1.318 GB, free: 8.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.085, allocations: 39.91 kB / 1.318 GB, free: 8.762 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/1.085, allocations: 27.98 kB / 1.318 GB, free: 8.734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/1.085, allocations: 77.28 kB / 1.318 GB, free: 8.656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.085, allocations: 4 kB / 1.318 GB, free: 8.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002775/1.086, allocations: 117.5 kB / 1.318 GB, free: 8.531 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.086, allocations: 4 kB / 1.318 GB, free: 8.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.086, allocations: 4 kB / 1.318 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.086, allocations: 0 / 1.318 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/1.086, allocations: 19.92 kB / 1.318 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/1.086, allocations: 0 / 1.318 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/1.086, allocations: 19.92 kB / 1.318 GB, free: 8.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/1.086, allocations: 8 kB / 1.318 GB, free: 8.477 MB / 1.045 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.0001027/1.086, allocations: 121.8 kB / 1.318 GB, free: 8.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/1.086, allocations: 15.81 kB / 1.318 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/1.086, allocations: 123 kB / 1.318 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.086, allocations: 3.938 kB / 1.319 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.086, allocations: 0 / 1.319 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.086, allocations: 7.875 kB / 1.319 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/1.087, allocations: 229.5 kB / 1.319 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.087, allocations: 0 / 1.319 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.087, allocations: 15.98 kB / 1.319 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.087, allocations: 0 / 1.319 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/1.087, allocations: 0 / 1.319 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.087, allocations: 3.984 kB / 1.319 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.087, allocations: 0 / 1.319 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/1.087, allocations: 211.3 kB / 1.319 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/1.087, allocations: 92.95 kB / 1.319 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/1.087, allocations: 3.984 kB / 1.319 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.087, allocations: 4 kB / 1.319 GB, free: 7.562 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/1.087, allocations: 11.92 kB / 1.319 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/1.087, allocations: 4 kB / 1.319 GB, free: 7.547 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001129/1.088, allocations: 132.2 kB / 1.319 GB, free: 7.418 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 1.319 GB, free: 7.418 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002463/1.088, allocations: 24 kB / 1.319 GB, free: 7.395 MB / 1.045 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.0001694/1.088, allocations: 111.2 kB / 1.319 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002603/1.088, allocations: 75.89 kB / 1.319 GB, free: 7.199 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.088, allocations: 0 / 1.319 GB, free: 7.199 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.088, allocations: 43.91 kB / 1.319 GB, free: 7.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.089, allocations: 31.92 kB / 1.319 GB, free: 7.125 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/1.089, allocations: 288.6 kB / 1.32 GB, free: 6.809 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.09, allocations: 0.7118 MB / 1.32 GB, free: 6.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/1.09, allocations: 15.44 kB / 1.32 GB, free: 6.055 MB / 1.045 GB Notification: Performance of SimCode: time 1.9e-07/1.09, allocations: 0 / 1.32 GB, free: 6.055 MB / 1.045 GB Notification: Performance of Templates: time 0.003628/1.093, allocations: 1.665 MB / 1.322 GB, free: 4.395 MB / 1.045 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