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.001571/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001725/0.001725, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.576/2.576, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6034/0.6047, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1519/0.7566, allocations: 146.9 MB / 1.093 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.7581, allocations: 1.129 MB / 1.094 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.7582, allocations: 4 kB / 1.094 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.7585, allocations: 47.73 kB / 1.094 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.7592, allocations: 282.9 kB / 1.094 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.7596, allocations: 151.5 kB / 1.094 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.7599, allocations: 223.3 kB / 1.094 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.7601, allocations: 55.06 kB / 1.094 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.7602, allocations: 47.8 kB / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.7602, allocations: 67.69 kB / 1.094 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.7603, allocations: 12 kB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.7608, allocations: 391.1 kB / 1.095 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.7609, allocations: 23.92 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.7609, allocations: 67.66 kB / 1.095 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.7613, allocations: 303.2 kB / 1.095 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7614, allocations: 3.984 kB / 1.095 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7614, allocations: 0 / 1.095 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7614, allocations: 4 kB / 1.095 GB, free: 11.9 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.0006356/0.762, allocations: 470.8 kB / 1.096 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.7621, allocations: 11.97 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.7623, allocations: 32.81 kB / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.7626, allocations: 211.4 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.7626, allocations: 15.94 kB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.7626, allocations: 12 kB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.7629, allocations: 105.6 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7629, allocations: 0 / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.7629, allocations: 8 kB / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7629, allocations: 0 / 1.096 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.7632, allocations: 97.84 kB / 1.096 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/0.7639, allocations: 460.1 kB / 1.097 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.7641, allocations: 90.53 kB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.7642, allocations: 44.95 kB / 1.097 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.7643, allocations: 0 / 1.097 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.7643, allocations: 34.55 kB / 1.097 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.7643, allocations: 4 kB / 1.097 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004265/0.7647, allocations: 145.4 kB / 1.097 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.7648, allocations: 55.41 kB / 1.097 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.7649, allocations: 178.4 kB / 1.097 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.765, allocations: 25.7 kB / 1.097 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.765, allocations: 120 kB / 1.097 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.7651, allocations: 15.72 kB / 1.097 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.7651, allocations: 29.61 kB / 1.097 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7652, allocations: 326.8 kB / 1.098 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.7653, allocations: 31.98 kB / 1.098 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.7655, allocations: 35.97 kB / 1.098 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.7657, allocations: 73.23 kB / 1.098 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7657, allocations: 0 / 1.098 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002645/0.7659, allocations: 121.5 kB / 1.098 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.766, allocations: 4 kB / 1.098 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.766, allocations: 8 kB / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.766, allocations: 0 / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.7662, allocations: 19.98 kB / 1.098 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.7662, allocations: 0 / 1.098 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.7663, allocations: 19.77 kB / 1.098 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.7663, allocations: 7.938 kB / 1.098 GB, free: 8.918 MB / 0.8575 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.679e-05/0.7664, allocations: 121.8 kB / 1.098 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.7664, allocations: 11.91 kB / 1.098 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.7668, allocations: 131 kB / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7668, allocations: 0 / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7668, allocations: 0 / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7668, allocations: 0 / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.767, allocations: 221.4 kB / 1.098 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.767, allocations: 0 / 1.098 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.7671, allocations: 19.98 kB / 1.098 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7671, allocations: 3.938 kB / 1.098 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.7672, allocations: 8 kB / 1.098 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7672, allocations: 0 / 1.098 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7672, allocations: 3.938 kB / 1.098 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.7675, allocations: 211.3 kB / 1.099 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.7676, allocations: 92.86 kB / 1.099 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.7676, allocations: 4 kB / 1.099 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.7677, allocations: 11.98 kB / 1.099 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.7678, allocations: 4 kB / 1.099 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7678, allocations: 0 / 1.099 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001062/0.7679, allocations: 145.7 kB / 1.099 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7679, allocations: 0 / 1.099 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002392/0.7682, allocations: 16 kB / 1.099 GB, free: 7.836 MB / 0.8575 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.7683, allocations: 111.2 kB / 1.099 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002659/0.7686, allocations: 75.89 kB / 1.099 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7686, allocations: 0 / 1.099 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.7687, allocations: 39.91 kB / 1.099 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.7691, allocations: 39.97 kB / 1.099 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.7696, allocations: 284.9 kB / 1.099 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.7699, allocations: 0.708 MB / 1.1 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.826e-05/0.77, allocations: 20.86 kB / 1.1 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.7701, allocations: 15.44 kB / 1.1 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.7701, allocations: 3.938 kB / 1.1 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of Templates: time 0.004049/0.7741, allocations: 1.522 MB / 1.102 GB, free: 4.988 MB / 0.8575 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