Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006325/0.006325, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001147/0.001147, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.985/2.985, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.86 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 159.1 MB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.964/1.295, allocations: 149.4 MB / 1.367 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001877/1.297, allocations: 1.134 MB / 1.368 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/1.297, allocations: 2.781 kB / 1.368 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004646/1.298, allocations: 62.23 kB / 1.368 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/1.299, allocations: 311.3 kB / 1.368 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/1.3, allocations: 174.6 kB / 1.368 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/1.3, allocations: 220 kB / 1.368 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/1.3, allocations: 45.42 kB / 1.368 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/1.301, allocations: 51.66 kB / 1.368 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/1.301, allocations: 54.98 kB / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/1.301, allocations: 15.33 kB / 1.369 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/1.302, allocations: 366.4 kB / 1.369 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/1.302, allocations: 40.47 kB / 1.369 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/1.302, allocations: 60.91 kB / 1.369 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000705/1.302, allocations: 288.5 kB / 1.369 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.302, allocations: 1.281 kB / 1.369 GB, free: 14.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/1.302, allocations: 4 kB / 1.369 GB, free: 14.2 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.677e-06/1.302, allocations: 0 / 1.369 GB, free: 14.2 MB / 1.076 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.0008638/1.303, allocations: 477.1 kB / 1.37 GB, free: 13.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.303, allocations: 11.06 kB / 1.37 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/1.304, allocations: 38.89 kB / 1.37 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/1.304, allocations: 214 kB / 1.37 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.304, allocations: 12.81 kB / 1.37 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/1.304, allocations: 10.16 kB / 1.37 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/1.304, allocations: 118.7 kB / 1.37 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.304, allocations: 0 / 1.37 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/1.304, allocations: 0 / 1.37 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.304, allocations: 7.359 kB / 1.37 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/1.305, allocations: 95.19 kB / 1.37 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/1.305, allocations: 458.5 kB / 1.371 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/1.306, allocations: 85.05 kB / 1.371 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.306, allocations: 43.94 kB / 1.371 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/1.306, allocations: 7.688 kB / 1.371 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.306, allocations: 31.94 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/1.306, allocations: 3.938 kB / 1.371 GB, free: 12.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004582/1.306, allocations: 137.2 kB / 1.371 GB, free: 12.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.306, allocations: 52.78 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/1.307, allocations: 191.1 kB / 1.371 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.307, allocations: 25.7 kB / 1.371 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/1.307, allocations: 117.1 kB / 1.371 GB, free: 12.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/1.307, allocations: 19.3 kB / 1.371 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/1.307, allocations: 20.67 kB / 1.371 GB, free: 12.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.307, allocations: 330.5 kB / 1.372 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/1.307, allocations: 29.19 kB / 1.372 GB, free: 12.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/1.307, allocations: 37.08 kB / 1.372 GB, free: 12.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/1.307, allocations: 84.06 kB / 1.372 GB, free: 12.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.307, allocations: 0 / 1.372 GB, free: 12.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002749/1.308, allocations: 116 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.308, allocations: 10.48 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.308, allocations: 3.938 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.308, allocations: 1.156 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.308, allocations: 21.36 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.308, allocations: 0 / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.308, allocations: 16.98 kB / 1.372 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/1.308, allocations: 1.75 kB / 1.372 GB, free: 12.04 MB / 1.076 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.794e-05/1.308, allocations: 127.8 kB / 1.372 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/1.308, allocations: 11.44 kB / 1.372 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/1.308, allocations: 128.1 kB / 1.372 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.308, allocations: 1.344 kB / 1.372 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.308, allocations: 0.5625 kB / 1.372 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.308, allocations: 0 / 1.372 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/1.309, allocations: 225.8 kB / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.309, allocations: 0 / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/1.309, allocations: 21.61 kB / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.309, allocations: 1.469 kB / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.309, allocations: 4 kB / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.309, allocations: 1.312 kB / 1.372 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.309, allocations: 4 kB / 1.372 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/1.309, allocations: 206.1 kB / 1.373 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/1.309, allocations: 89.3 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/1.309, allocations: 7.047 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/1.309, allocations: 4.719 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/1.309, allocations: 9.5 kB / 1.373 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/1.309, allocations: 5.312 kB / 1.373 GB, free: 11.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001121/1.309, allocations: 135.5 kB / 1.373 GB, free: 11.24 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.309, allocations: 0 / 1.373 GB, free: 11.24 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002548/1.31, allocations: 22.44 kB / 1.373 GB, free: 11.23 MB / 1.076 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.0002063/1.31, allocations: 111.7 kB / 1.373 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002709/1.31, allocations: 77.47 kB / 1.373 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.31, allocations: 0 / 1.373 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/1.31, allocations: 39.58 kB / 1.373 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/1.311, allocations: 39.86 kB / 1.373 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/1.311, allocations: 265.7 kB / 1.373 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/1.312, allocations: 0.7035 MB / 1.374 GB, free: 10.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.989e-05/1.312, allocations: 19.22 kB / 1.374 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/1.312, allocations: 15.42 kB / 1.374 GB, free: 10.19 MB / 1.076 GB Notification: Performance of SimCode: time 9.42e-07/1.312, allocations: 0 / 1.374 GB, free: 10.19 MB / 1.076 GB Notification: Performance of Templates: time 0.004682/1.316, allocations: 1.61 MB / 1.376 GB, free: 10.04 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches