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.001115/0.001115, allocations: 117 kB / 16.37 MB, free: 6.012 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.001154/0.001155, allocations: 192 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.53 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2544, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6109/0.8653, allocations: 149 MB / 1.164 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.8669, allocations: 1.132 MB / 1.165 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.867, allocations: 1.406 kB / 1.165 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.8675, allocations: 64.66 kB / 1.165 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.8682, allocations: 299.1 kB / 1.166 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.8686, allocations: 166.7 kB / 1.166 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.869, allocations: 224.2 kB / 1.166 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.8692, allocations: 54.66 kB / 1.166 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.8692, allocations: 54.89 kB / 1.166 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.8693, allocations: 59.2 kB / 1.166 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.8694, allocations: 15.25 kB / 1.166 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.8699, allocations: 364.3 kB / 1.167 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.87, allocations: 30.25 kB / 1.167 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.87, allocations: 62.41 kB / 1.167 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.8704, allocations: 301.7 kB / 1.167 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8704, allocations: 6.016 kB / 1.167 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8705, allocations: 1.125 kB / 1.167 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8705, allocations: 0 / 1.167 GB, free: 3.574 MB / 0.8731 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.0006689/0.8711, allocations: 470.7 kB / 1.167 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8712, allocations: 10.95 kB / 1.167 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.8715, allocations: 40.73 kB / 1.168 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.8717, allocations: 200.8 kB / 1.168 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.8718, allocations: 11.69 kB / 1.168 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.8718, allocations: 10.88 kB / 1.168 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.8721, allocations: 123.4 kB / 1.168 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8721, allocations: 3.984 kB / 1.168 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.8721, allocations: 1.094 kB / 1.168 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8721, allocations: 2.469 kB / 1.168 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.8724, allocations: 96.41 kB / 1.168 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.873, allocations: 460.5 kB / 1.168 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.8732, allocations: 91.83 kB / 1.168 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.8733, allocations: 41.17 kB / 1.169 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.8734, allocations: 1.219 kB / 1.169 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.8734, allocations: 31.78 kB / 1.169 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.8734, allocations: 1.094 kB / 1.169 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.8738, allocations: 140.5 kB / 1.169 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.8739, allocations: 56.38 kB / 1.169 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.874, allocations: 180.3 kB / 1.169 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.8741, allocations: 29.7 kB / 1.169 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.8741, allocations: 120.9 kB / 1.169 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.8742, allocations: 23.34 kB / 1.169 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.8742, allocations: 24.48 kB / 1.169 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8743, allocations: 327.1 kB / 1.169 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.8744, allocations: 30.44 kB / 1.169 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.8745, allocations: 35.03 kB / 1.169 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.8747, allocations: 76.44 kB / 1.17 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8747, allocations: 0 / 1.17 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002777/0.875, allocations: 116.8 kB / 1.17 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.875, allocations: 4.25 kB / 1.17 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8751, allocations: 1.188 kB / 1.17 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8751, allocations: 4.875 kB / 1.17 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.8752, allocations: 22.47 kB / 1.17 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8752, allocations: 1.156 kB / 1.17 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.8753, allocations: 15.08 kB / 1.17 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.8753, allocations: 6.219 kB / 1.17 GB, free: 1.43 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 8.209e-05/0.8754, allocations: 123.3 kB / 1.17 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.8755, allocations: 12.23 kB / 1.17 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.8758, allocations: 125 kB / 1.17 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8758, allocations: 5 kB / 1.17 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8758, allocations: 1.875 kB / 1.17 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8758, allocations: 1.062 kB / 1.17 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.876, allocations: 223.3 kB / 1.17 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.876, allocations: 1 kB / 1.17 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.8762, allocations: 20.75 kB / 1.17 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8762, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.8762, allocations: 1.219 kB / 1.17 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8762, allocations: 4 kB / 1.17 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8762, allocations: 1.406 kB / 1.17 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.8765, allocations: 207.1 kB / 1.17 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.8766, allocations: 99.81 kB / 1.17 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.8766, allocations: 0 / 1.17 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.8767, allocations: 9.484 kB / 1.17 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.8768, allocations: 9.891 kB / 1.171 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8768, allocations: 2.469 kB / 1.171 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001075/0.8769, allocations: 135.2 kB / 1.171 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8769, allocations: 3.938 kB / 1.171 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002491/0.8771, allocations: 19.06 kB / 1.171 GB, free: 0.6328 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.0001387/0.8773, allocations: 106.5 kB / 1.171 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.8775, allocations: 77.64 kB / 1.171 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8776, allocations: 0 / 1.171 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8777, allocations: 41.52 kB / 1.171 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.878, allocations: 48.81 kB / 1.171 GB, free: 500 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.8785, allocations: 251.6 kB / 1.171 GB, free: 320 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.8788, allocations: 0.7079 MB / 1.172 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.459e-05/0.8788, allocations: 13.84 kB / 1.172 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.8789, allocations: 19.52 kB / 1.172 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of SimCode: time 1.543e-06/0.8789, allocations: 0 / 1.172 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of Templates: time 0.003983/0.8829, allocations: 1.585 MB / 1.173 GB, free: 15.32 MB / 0.8887 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 -s gbode -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