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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001242/0.001242, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.00128/0.00128, allocations: 192.1 kB / 17.31 MB, free: 5.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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.95 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2333, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5946/0.8279, allocations: 149 MB / 1.097 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.8293, allocations: 1.128 MB / 1.098 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.8294, allocations: 4.156 kB / 1.098 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.8297, allocations: 56.86 kB / 1.098 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000742/0.8306, allocations: 311.1 kB / 1.098 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.831, allocations: 160.4 kB / 1.098 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.8314, allocations: 219.5 kB / 1.098 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.8315, allocations: 65.69 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.8316, allocations: 52.61 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.8317, allocations: 61.36 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.8317, allocations: 11.41 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.8323, allocations: 370.8 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.8323, allocations: 32.08 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.8324, allocations: 63.08 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.8329, allocations: 294.4 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.8329, allocations: 0 / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8329, allocations: 0.5312 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8329, allocations: 2.156 kB / 1.099 GB, free: 5.93 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.0007202/0.8336, allocations: 464.5 kB / 1.1 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.8337, allocations: 12.69 kB / 1.1 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.8339, allocations: 37.52 kB / 1.1 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.8342, allocations: 213.8 kB / 1.1 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.8342, allocations: 4.344 kB / 1.1 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.8342, allocations: 14.62 kB / 1.1 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.8345, allocations: 118 kB / 1.1 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.8345, allocations: 4 kB / 1.1 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.8345, allocations: 4.656 kB / 1.1 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8346, allocations: 3.031 kB / 1.1 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.8348, allocations: 95.27 kB / 1.1 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.8355, allocations: 453.5 kB / 1.101 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.8357, allocations: 93.89 kB / 1.101 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.8358, allocations: 35.92 kB / 1.101 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.8359, allocations: 6.125 kB / 1.101 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.8359, allocations: 31.56 kB / 1.101 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.8359, allocations: 0 / 1.101 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004235/0.8363, allocations: 145.6 kB / 1.101 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.8364, allocations: 53 kB / 1.101 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.8366, allocations: 180.4 kB / 1.101 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.8366, allocations: 28.05 kB / 1.101 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.8367, allocations: 118.1 kB / 1.101 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.8367, allocations: 23.94 kB / 1.101 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.8367, allocations: 23.5 kB / 1.101 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8369, allocations: 333 kB / 1.102 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.837, allocations: 29.36 kB / 1.102 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.8371, allocations: 34.77 kB / 1.102 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.8373, allocations: 72.28 kB / 1.102 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8373, allocations: 1.062 kB / 1.102 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002697/0.8376, allocations: 116.9 kB / 1.102 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8376, allocations: 6.469 kB / 1.102 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.8376, allocations: 1.094 kB / 1.102 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.8376, allocations: 1.391 kB / 1.102 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.8378, allocations: 20.09 kB / 1.102 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8378, allocations: 2.297 kB / 1.102 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.8379, allocations: 15.34 kB / 1.102 GB, free: 20.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.8379, allocations: 5.109 kB / 1.102 GB, free: 20.17 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 9.336e-05/0.838, allocations: 126.9 kB / 1.102 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.838, allocations: 9.75 kB / 1.102 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.8384, allocations: 126.7 kB / 1.102 GB, free: 20 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8384, allocations: 1.406 kB / 1.102 GB, free: 20 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8384, allocations: 2.703 kB / 1.102 GB, free: 20 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8384, allocations: 0.7031 kB / 1.102 GB, free: 20 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.8386, allocations: 223.8 kB / 1.102 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8386, allocations: 0 / 1.102 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.8388, allocations: 23.11 kB / 1.103 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8388, allocations: 2.344 kB / 1.103 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.8388, allocations: 9.078 kB / 1.103 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8388, allocations: 0.75 kB / 1.103 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8388, allocations: 0.5625 kB / 1.103 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.8391, allocations: 210 kB / 1.103 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.8392, allocations: 102.1 kB / 1.103 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.8392, allocations: 1.516 kB / 1.103 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.8393, allocations: 6.203 kB / 1.103 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.8394, allocations: 8.422 kB / 1.103 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.8394, allocations: 2.188 kB / 1.103 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001208/0.8395, allocations: 137.1 kB / 1.103 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8395, allocations: 0.625 kB / 1.103 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000252/0.8398, allocations: 22.12 kB / 1.103 GB, free: 19.47 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.0001495/0.8399, allocations: 112.2 kB / 1.103 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.8402, allocations: 73.19 kB / 1.103 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8402, allocations: 1.594 kB / 1.103 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.8403, allocations: 42.28 kB / 1.103 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.8407, allocations: 32.31 kB / 1.103 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.8413, allocations: 260 kB / 1.103 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.8416, allocations: 0.7122 MB / 1.104 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.813e-05/0.8416, allocations: 11.3 kB / 1.104 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.8417, allocations: 12.75 kB / 1.104 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8417, allocations: 3.938 kB / 1.104 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.004931/0.8466, allocations: 1.579 MB / 1.106 GB, free: 18.4 MB / 0.8731 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 -s gbode -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/jenkins1/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