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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001606/0.001606, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.00155/0.00155, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.72 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7511/1.086, allocations: 149 MB / 1.163 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00175/1.088, allocations: 1.126 MB / 1.165 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/1.088, allocations: 2.688 kB / 1.165 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/1.089, allocations: 61.8 kB / 1.165 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007807/1.09, allocations: 304.6 kB / 1.165 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/1.09, allocations: 171 kB / 1.165 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/1.091, allocations: 214.7 kB / 1.165 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/1.091, allocations: 59.03 kB / 1.165 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/1.091, allocations: 53.92 kB / 1.165 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/1.091, allocations: 55.7 kB / 1.165 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/1.091, allocations: 11.97 kB / 1.165 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/1.092, allocations: 369.2 kB / 1.166 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/1.092, allocations: 40.02 kB / 1.166 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/1.092, allocations: 61.3 kB / 1.166 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/1.092, allocations: 283.7 kB / 1.166 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.092, allocations: 4 kB / 1.166 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/1.092, allocations: 0 / 1.166 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.092, allocations: 1.281 kB / 1.166 GB, free: 3.816 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.0007768/1.093, allocations: 466.6 kB / 1.167 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.093, allocations: 14.05 kB / 1.167 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/1.093, allocations: 32.28 kB / 1.167 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/1.094, allocations: 211.1 kB / 1.167 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.094, allocations: 11.66 kB / 1.167 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/1.094, allocations: 10.09 kB / 1.167 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/1.094, allocations: 129.2 kB / 1.167 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.094, allocations: 0 / 1.167 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/1.094, allocations: 4.984 kB / 1.167 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.094, allocations: 2.406 kB / 1.167 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/1.094, allocations: 98.36 kB / 1.167 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/1.095, allocations: 459.7 kB / 1.168 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/1.095, allocations: 95.34 kB / 1.168 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/1.095, allocations: 37.53 kB / 1.168 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/1.095, allocations: 1.156 kB / 1.168 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.095, allocations: 31.94 kB / 1.168 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/1.095, allocations: 0 / 1.168 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.000456/1.096, allocations: 148.9 kB / 1.168 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.096, allocations: 51.41 kB / 1.168 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/1.096, allocations: 183.2 kB / 1.168 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/1.096, allocations: 30.7 kB / 1.168 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/1.096, allocations: 118.1 kB / 1.168 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.096, allocations: 21.58 kB / 1.168 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/1.096, allocations: 19.44 kB / 1.168 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.097, allocations: 333.4 kB / 1.169 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/1.097, allocations: 32.19 kB / 1.169 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/1.097, allocations: 31.72 kB / 1.169 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/1.097, allocations: 75.52 kB / 1.169 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.097, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002747/1.097, allocations: 122 kB / 1.169 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.097, allocations: 4.438 kB / 1.169 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.097, allocations: 0 / 1.169 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.097, allocations: 1.094 kB / 1.169 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/1.098, allocations: 21.25 kB / 1.169 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.098, allocations: 0.9688 kB / 1.169 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/1.098, allocations: 15.88 kB / 1.169 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/1.098, allocations: 2.281 kB / 1.169 GB, free: 1.672 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 0.0001132/1.098, allocations: 129.7 kB / 1.169 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/1.098, allocations: 9.812 kB / 1.169 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/1.098, allocations: 120.7 kB / 1.169 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.098, allocations: 1.094 kB / 1.169 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.098, allocations: 4.969 kB / 1.169 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.098, allocations: 0 / 1.169 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/1.098, allocations: 228.1 kB / 1.169 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.098, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.099, allocations: 26.06 kB / 1.169 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.099, allocations: 1.156 kB / 1.169 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1.099, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.099, allocations: 4.969 kB / 1.169 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.099, allocations: 0 / 1.169 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/1.099, allocations: 206.7 kB / 1.17 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/1.099, allocations: 96.48 kB / 1.17 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/1.099, allocations: 8.906 kB / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.099, allocations: 9.547 kB / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/1.099, allocations: 9.562 kB / 1.17 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.099, allocations: 1.625 kB / 1.17 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001182/1.099, allocations: 134.8 kB / 1.17 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.099, allocations: 0 / 1.17 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002374/1.1, allocations: 19.31 kB / 1.17 GB, free: 0.8672 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.0001808/1.1, allocations: 114.7 kB / 1.17 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002938/1.1, allocations: 76.25 kB / 1.17 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.1, allocations: 0 / 1.17 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/1.1, allocations: 46.3 kB / 1.17 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/1.101, allocations: 36.98 kB / 1.17 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/1.101, allocations: 282.4 kB / 1.17 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/1.102, allocations: 0.7147 MB / 1.171 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/1.102, allocations: 13.94 kB / 1.171 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/1.102, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of Templates: time 0.003742/1.105, allocations: 1.658 MB / 1.173 GB, free: 15.51 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=400 -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