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.006409/0.006409, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001362/0.001362, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.504/2.504, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.84 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7527, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1524/0.9051, allocations: 149 MB / 1.312 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.9067, allocations: 1.133 MB / 1.313 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.9068, allocations: 4 kB / 1.313 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.9072, allocations: 55.61 kB / 1.313 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.908, allocations: 314.7 kB / 1.314 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.9083, allocations: 167.3 kB / 1.314 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.9088, allocations: 231.3 kB / 1.314 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.909, allocations: 49.09 kB / 1.314 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.9091, allocations: 55.78 kB / 1.314 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.9092, allocations: 63.69 kB / 1.314 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.9092, allocations: 12 kB / 1.314 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.9098, allocations: 363.3 kB / 1.314 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.9098, allocations: 31.84 kB / 1.315 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.9099, allocations: 63.67 kB / 1.315 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.9103, allocations: 287.6 kB / 1.315 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9104, allocations: 0 / 1.315 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9104, allocations: 0 / 1.315 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.9104, allocations: 4 kB / 1.315 GB, free: 11.47 MB / 1.045 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.000582/0.911, allocations: 482.3 kB / 1.315 GB, free: 10.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.911, allocations: 8.922 kB / 1.315 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.9113, allocations: 40.81 kB / 1.315 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.9116, allocations: 206.6 kB / 1.316 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9116, allocations: 15.94 kB / 1.316 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.9116, allocations: 12 kB / 1.316 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.9119, allocations: 117.5 kB / 1.316 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9119, allocations: 4 kB / 1.316 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.9119, allocations: 4 kB / 1.316 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9119, allocations: 4 kB / 1.316 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.9122, allocations: 91.88 kB / 1.316 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.9128, allocations: 460.2 kB / 1.316 GB, free: 9.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.913, allocations: 90.53 kB / 1.316 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.9132, allocations: 40.89 kB / 1.316 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.9132, allocations: 4 kB / 1.316 GB, free: 9.773 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.9132, allocations: 34.56 kB / 1.316 GB, free: 9.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.9132, allocations: 4 kB / 1.316 GB, free: 9.727 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.9136, allocations: 137.6 kB / 1.317 GB, free: 9.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.9137, allocations: 51.41 kB / 1.317 GB, free: 9.523 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.9139, allocations: 190.3 kB / 1.317 GB, free: 9.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.9139, allocations: 29.7 kB / 1.317 GB, free: 9.293 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.9139, allocations: 108.1 kB / 1.317 GB, free: 9.184 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.914, allocations: 27.73 kB / 1.317 GB, free: 9.156 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.914, allocations: 21.7 kB / 1.317 GB, free: 9.129 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.9141, allocations: 326.8 kB / 1.317 GB, free: 8.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.9142, allocations: 31.97 kB / 1.317 GB, free: 8.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.9143, allocations: 39.97 kB / 1.317 GB, free: 8.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.9145, allocations: 72.83 kB / 1.317 GB, free: 8.656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9145, allocations: 0 / 1.317 GB, free: 8.656 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002543/0.9148, allocations: 118 kB / 1.318 GB, free: 8.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.9148, allocations: 4 kB / 1.318 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.9148, allocations: 0 / 1.318 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9149, allocations: 0 / 1.318 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.915, allocations: 31.86 kB / 1.318 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.915, allocations: 80 / 1.318 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.9151, allocations: 19.89 kB / 1.318 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.9151, allocations: 7.984 kB / 1.318 GB, free: 8.473 MB / 1.045 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.246e-05/0.9152, allocations: 125.8 kB / 1.318 GB, free: 8.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.9152, allocations: 11.95 kB / 1.318 GB, free: 8.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.9155, allocations: 122.9 kB / 1.318 GB, free: 8.203 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9155, allocations: 7.984 kB / 1.318 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.9156, allocations: 0 / 1.318 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9156, allocations: 0 / 1.318 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.9158, allocations: 225.5 kB / 1.318 GB, free: 7.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9158, allocations: 0 / 1.318 GB, free: 7.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.9159, allocations: 19.98 kB / 1.318 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9159, allocations: 0 / 1.318 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.9159, allocations: 0 / 1.318 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9159, allocations: 0 / 1.318 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9159, allocations: 0 / 1.318 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.9162, allocations: 207.4 kB / 1.318 GB, free: 7.688 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.9163, allocations: 97 kB / 1.318 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.9163, allocations: 7.875 kB / 1.318 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.9164, allocations: 7.984 kB / 1.318 GB, free: 7.559 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.9164, allocations: 8 kB / 1.318 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.9165, allocations: 0 / 1.318 GB, free: 7.551 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001/0.9166, allocations: 140.2 kB / 1.319 GB, free: 7.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9166, allocations: 0 / 1.319 GB, free: 7.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002368/0.9168, allocations: 23.94 kB / 1.319 GB, free: 7.391 MB / 1.045 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.0001275/0.9169, allocations: 103.2 kB / 1.319 GB, free: 7.277 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.9172, allocations: 75.88 kB / 1.319 GB, free: 7.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9172, allocations: 8 kB / 1.319 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.9173, allocations: 43.91 kB / 1.319 GB, free: 7.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.9177, allocations: 30.31 kB / 1.319 GB, free: 7.125 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.9182, allocations: 252.5 kB / 1.319 GB, free: 6.848 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.9185, allocations: 0.7118 MB / 1.32 GB, free: 6.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.801e-05/0.9185, allocations: 12.88 kB / 1.32 GB, free: 6.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.9186, allocations: 19.42 kB / 1.32 GB, free: 6.078 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/0.9186, allocations: 7.875 kB / 1.32 GB, free: 6.07 MB / 1.045 GB Notification: Performance of Templates: time 0.003827/0.9224, allocations: 1.601 MB / 1.321 GB, free: 4.492 MB / 1.045 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 -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/jenkins/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