Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001009/0.001028, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007879/0.007879, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.543/1.543, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005565, allocations: 16.19 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.6401, allocations: 142.4 MB / 0.9551 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1518/0.7919, allocations: 144.8 MB / 1.097 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.7934, allocations: 1.125 MB / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.7935, allocations: 4 kB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.7938, allocations: 51.72 kB / 1.098 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.7944, allocations: 282.8 kB / 1.098 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.7948, allocations: 155.5 kB / 1.098 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.7951, allocations: 231.3 kB / 1.098 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.7953, allocations: 51.06 kB / 1.098 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.7953, allocations: 35.8 kB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.7954, allocations: 55.69 kB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.7955, allocations: 4 kB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.796, allocations: 407.1 kB / 1.099 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.7961, allocations: 19.91 kB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.7961, allocations: 73.39 kB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.7965, allocations: 299.1 kB / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7965, allocations: 0 / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7965, allocations: 0 / 1.099 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.7965, allocations: 0 / 1.099 GB, free: 11.33 MB / 0.8575 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.0005905/0.7971, allocations: 450.9 kB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.7972, allocations: 8.031 kB / 1.1 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.7975, allocations: 44.66 kB / 1.1 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.7977, allocations: 216.9 kB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.7977, allocations: 4 kB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.7977, allocations: 8 kB / 1.1 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.798, allocations: 123.6 kB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.798, allocations: 4 kB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.7981, allocations: 4 kB / 1.1 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.7981, allocations: 4 kB / 1.1 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.7984, allocations: 103.8 kB / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.799, allocations: 468 kB / 1.101 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.7993, allocations: 102.5 kB / 1.101 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.7994, allocations: 40.95 kB / 1.101 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.7994, allocations: 0 / 1.101 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.7995, allocations: 38.55 kB / 1.101 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.7995, allocations: 0 / 1.101 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004646/0.7999, allocations: 157.5 kB / 1.101 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.8, allocations: 55.41 kB / 1.101 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.8001, allocations: 178.9 kB / 1.101 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.8002, allocations: 29.7 kB / 1.101 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.8002, allocations: 119.9 kB / 1.101 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.8003, allocations: 23.7 kB / 1.101 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.8003, allocations: 9.719 kB / 1.101 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8004, allocations: 330.8 kB / 1.102 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.8005, allocations: 31.98 kB / 1.102 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.8007, allocations: 43.97 kB / 1.102 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.8009, allocations: 88.73 kB / 1.102 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8009, allocations: 3.938 kB / 1.102 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002893/0.8012, allocations: 129.6 kB / 1.102 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.8012, allocations: 4 kB / 1.102 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8012, allocations: 0 / 1.102 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.8013, allocations: 0 / 1.102 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.8014, allocations: 19.98 kB / 1.102 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8014, allocations: 8.547 kB / 1.102 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.8015, allocations: 19.83 kB / 1.102 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.8015, allocations: 7.875 kB / 1.102 GB, free: 8.285 MB / 0.8575 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.354e-05/0.8016, allocations: 121.8 kB / 1.102 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.8017, allocations: 11.91 kB / 1.102 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.802, allocations: 139 kB / 1.102 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.802, allocations: 0 / 1.102 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.802, allocations: 0 / 1.102 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8021, allocations: 4 kB / 1.102 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.8023, allocations: 225.4 kB / 1.102 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8023, allocations: 0 / 1.102 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.8024, allocations: 23.98 kB / 1.102 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8024, allocations: 3.938 kB / 1.102 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.8024, allocations: 4 kB / 1.102 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8024, allocations: 4 kB / 1.102 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8024, allocations: 0 / 1.102 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.8028, allocations: 223.3 kB / 1.103 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.8028, allocations: 88.86 kB / 1.103 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.8029, allocations: 8 kB / 1.103 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.803, allocations: 7.984 kB / 1.103 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.803, allocations: 4 kB / 1.103 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.8031, allocations: 0 / 1.103 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001153/0.8032, allocations: 145.2 kB / 1.103 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8032, allocations: 4 kB / 1.103 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002499/0.8034, allocations: 20 kB / 1.103 GB, free: 7.172 MB / 0.8575 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.0001467/0.8036, allocations: 103.2 kB / 1.103 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.8039, allocations: 91.94 kB / 1.103 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8039, allocations: 0 / 1.103 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.804, allocations: 47.91 kB / 1.103 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.8044, allocations: 37.94 kB / 1.103 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.805, allocations: 301.5 kB / 1.103 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.8052, allocations: 0.7121 MB / 1.104 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.26e-05/0.8053, allocations: 12.88 kB / 1.104 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.8053, allocations: 19.38 kB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.8053, allocations: 0 / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of Templates: time 0.003949/0.8093, allocations: 1.449 MB / 1.106 GB, free: 4.371 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches