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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.008055/0.008055, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.002051/0.002051, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7106 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.757, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1686/0.9257, allocations: 146.7 MB / 1.161 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.9273, allocations: 1.145 MB / 1.162 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.9275, allocations: 4 kB / 1.162 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.928, allocations: 51.73 kB / 1.162 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007338/0.9287, allocations: 282.9 kB / 1.162 GB, free: 14.01 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.9291, allocations: 139.5 kB / 1.162 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.9296, allocations: 239.3 kB / 1.162 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.9297, allocations: 55.08 kB / 1.162 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.473e-05/0.9298, allocations: 51.66 kB / 1.162 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.9299, allocations: 55.75 kB / 1.163 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.9299, allocations: 12 kB / 1.163 GB, free: 13.47 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.9305, allocations: 411.2 kB / 1.163 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.9306, allocations: 27.84 kB / 1.163 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.9307, allocations: 59.61 kB / 1.163 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.931, allocations: 199.6 kB / 1.163 GB, free: 12.79 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.931, allocations: 0 / 1.163 GB, free: 12.79 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.931, allocations: 0 / 1.163 GB, free: 12.79 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.931, allocations: 0 / 1.163 GB, free: 12.79 MB / 0.92 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.0006989/0.9317, allocations: 474.8 kB / 1.164 GB, free: 12.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9318, allocations: 8.031 kB / 1.164 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.9321, allocations: 36.81 kB / 1.164 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.9323, allocations: 200.1 kB / 1.164 GB, free: 12 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9324, allocations: 11.94 kB / 1.164 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.9324, allocations: 15.94 kB / 1.164 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.9327, allocations: 119.1 kB / 1.164 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9327, allocations: 4 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.9327, allocations: 8 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9327, allocations: 0 / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.933, allocations: 91.88 kB / 1.164 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.9337, allocations: 468 kB / 1.165 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.9339, allocations: 94.47 kB / 1.165 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.9341, allocations: 40.94 kB / 1.165 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.9341, allocations: 0 / 1.165 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.9341, allocations: 34.56 kB / 1.165 GB, free: 11.05 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.9341, allocations: 0 / 1.165 GB, free: 11.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004462/0.9346, allocations: 141.5 kB / 1.165 GB, free: 10.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.9346, allocations: 59.33 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.9348, allocations: 183 kB / 1.165 GB, free: 10.65 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.9349, allocations: 25.7 kB / 1.165 GB, free: 10.62 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.935, allocations: 119.9 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.935, allocations: 23.7 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.935, allocations: 17.72 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9352, allocations: 326.8 kB / 1.166 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.9353, allocations: 31.97 kB / 1.166 GB, free: 10.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.9354, allocations: 31.98 kB / 1.166 GB, free: 10.06 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.9356, allocations: 84.81 kB / 1.166 GB, free: 9.973 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9356, allocations: 0 / 1.166 GB, free: 9.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002867/0.9359, allocations: 113.5 kB / 1.166 GB, free: 9.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9359, allocations: 7.938 kB / 1.166 GB, free: 9.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.9359, allocations: 0.5469 kB / 1.166 GB, free: 9.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.936, allocations: 3.938 kB / 1.166 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.9361, allocations: 19.98 kB / 1.166 GB, free: 9.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.9361, allocations: 4 kB / 1.166 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.9362, allocations: 19.83 kB / 1.166 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.9362, allocations: 4 kB / 1.166 GB, free: 9.797 MB / 0.92 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.0001055/0.9364, allocations: 122.3 kB / 1.166 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.9364, allocations: 11.91 kB / 1.166 GB, free: 9.656 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.9367, allocations: 123 kB / 1.166 GB, free: 9.531 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9367, allocations: 8 kB / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9367, allocations: 0 / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.9368, allocations: 0 / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.937, allocations: 229.4 kB / 1.166 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.937, allocations: 0 / 1.166 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.9371, allocations: 19.98 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9371, allocations: 0 / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.9371, allocations: 0 / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.9371, allocations: 3.984 kB / 1.166 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9372, allocations: 0 / 1.166 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.9375, allocations: 215.3 kB / 1.167 GB, free: 9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.9375, allocations: 96.86 kB / 1.167 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.9376, allocations: 3.984 kB / 1.167 GB, free: 8.883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.9377, allocations: 4 kB / 1.167 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.9377, allocations: 11.98 kB / 1.167 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.9378, allocations: 4 kB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001218/0.9379, allocations: 140.8 kB / 1.167 GB, free: 8.727 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9379, allocations: 0 / 1.167 GB, free: 8.727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000246/0.9381, allocations: 20 kB / 1.167 GB, free: 8.707 MB / 0.92 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.0001652/0.9383, allocations: 110.5 kB / 1.167 GB, free: 8.594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.9386, allocations: 75.83 kB / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9386, allocations: 4 kB / 1.167 GB, free: 8.516 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.9387, allocations: 39.97 kB / 1.167 GB, free: 8.477 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.9392, allocations: 27.98 kB / 1.167 GB, free: 8.449 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.9398, allocations: 328.2 kB / 1.167 GB, free: 8.094 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9401, allocations: 0.7159 MB / 1.168 GB, free: 7.352 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.9402, allocations: 15.44 kB / 1.168 GB, free: 7.336 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.9402, allocations: 0 / 1.168 GB, free: 7.336 MB / 0.92 GB Notification: Performance of Templates: time 0.00322/0.9434, allocations: 1.646 MB / 1.17 GB, free: 5.699 MB / 0.92 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