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.006909/0.006909, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001513/0.001513, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.98 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2491, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1507/0.3998, allocations: 149 MB / 1.233 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.4015, allocations: 1.137 MB / 1.235 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.4017, allocations: 0 / 1.235 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4021, allocations: 59.66 kB / 1.235 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007655/0.4029, allocations: 310.6 kB / 1.235 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.4033, allocations: 159.4 kB / 1.235 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.4038, allocations: 219.3 kB / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.4039, allocations: 61.03 kB / 1.235 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.404, allocations: 59.72 kB / 1.235 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.52e-05/0.4041, allocations: 51.77 kB / 1.235 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.4041, allocations: 12 kB / 1.235 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.4047, allocations: 367.3 kB / 1.236 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.4048, allocations: 39.8 kB / 1.236 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.4049, allocations: 63.66 kB / 1.236 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.4054, allocations: 287.3 kB / 1.236 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4054, allocations: 0 / 1.236 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4054, allocations: 0 / 1.236 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4054, allocations: 4 kB / 1.236 GB, free: 9.082 MB / 0.9981 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.00065/0.4061, allocations: 470.8 kB / 1.237 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4061, allocations: 12.03 kB / 1.237 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.4064, allocations: 36.72 kB / 1.237 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.4067, allocations: 211.3 kB / 1.237 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.4067, allocations: 8 kB / 1.237 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.4067, allocations: 8 kB / 1.237 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.407, allocations: 121.6 kB / 1.237 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.407, allocations: 4 kB / 1.237 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.407, allocations: 4 kB / 1.237 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.407, allocations: 4 kB / 1.237 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.4073, allocations: 87.94 kB / 1.237 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.408, allocations: 460 kB / 1.238 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.4082, allocations: 90.55 kB / 1.238 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.4084, allocations: 32.95 kB / 1.238 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4084, allocations: 0 / 1.238 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4085, allocations: 38.55 kB / 1.238 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4085, allocations: 0 / 1.238 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004945/0.409, allocations: 145.5 kB / 1.238 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.409, allocations: 51.41 kB / 1.238 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.4092, allocations: 191.8 kB / 1.238 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4092, allocations: 29.7 kB / 1.238 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.4093, allocations: 115.9 kB / 1.238 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.4094, allocations: 23.64 kB / 1.238 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.4094, allocations: 25.72 kB / 1.238 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4096, allocations: 322.8 kB / 1.239 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4097, allocations: 35.97 kB / 1.239 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4098, allocations: 27.98 kB / 1.239 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.41, allocations: 80.81 kB / 1.239 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.41, allocations: 0 / 1.239 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002864/0.4103, allocations: 121.5 kB / 1.239 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4104, allocations: 11.94 kB / 1.239 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4104, allocations: 0.5469 kB / 1.239 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4104, allocations: 0 / 1.239 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4105, allocations: 15.98 kB / 1.239 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4105, allocations: 0 / 1.239 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4107, allocations: 23.77 kB / 1.239 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.4107, allocations: 4 kB / 1.239 GB, free: 6.102 MB / 0.9981 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.0001122/0.4108, allocations: 121.8 kB / 1.239 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.4108, allocations: 15.81 kB / 1.239 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.4112, allocations: 130.9 kB / 1.239 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4112, allocations: 0 / 1.239 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4112, allocations: 0 / 1.239 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4112, allocations: 7.875 kB / 1.239 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.4114, allocations: 221.6 kB / 1.239 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4115, allocations: 4 kB / 1.239 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.4116, allocations: 19.98 kB / 1.239 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4116, allocations: 0 / 1.239 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.4116, allocations: 0 / 1.239 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4116, allocations: 0 / 1.239 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4116, allocations: 4 kB / 1.239 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.4119, allocations: 207.3 kB / 1.24 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.412, allocations: 96.92 kB / 1.24 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.412, allocations: 0 / 1.24 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4121, allocations: 7.984 kB / 1.24 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.4122, allocations: 4 kB / 1.24 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.4122, allocations: 3.938 kB / 1.24 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001286/0.4123, allocations: 139.2 kB / 1.24 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4123, allocations: 0 / 1.24 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002515/0.4126, allocations: 23.94 kB / 1.24 GB, free: 5.02 MB / 0.9981 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.0001566/0.4127, allocations: 107.2 kB / 1.24 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.413, allocations: 79.88 kB / 1.24 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.413, allocations: 0 / 1.24 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4132, allocations: 31.98 kB / 1.24 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.4135, allocations: 43.91 kB / 1.24 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.4141, allocations: 257.2 kB / 1.24 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4144, allocations: 0.7118 MB / 1.241 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.212e-05/0.4145, allocations: 12.88 kB / 1.241 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4146, allocations: 15.44 kB / 1.241 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.4146, allocations: 0 / 1.241 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of Templates: time 0.004229/0.4188, allocations: 1.595 MB / 1.243 GB, free: 2.137 MB / 0.9981 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