Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001337/0.001336, allocations: 114 kB / 16.42 MB, free: 6.469 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.001365/0.001365, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7249, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1478/0.8727, allocations: 149 MB / 1.354 GB, free: 8.035 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.8743, allocations: 1.129 MB / 1.355 GB, free: 6.902 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.8745, allocations: 4 kB / 1.355 GB, free: 6.898 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.8749, allocations: 59.66 kB / 1.355 GB, free: 6.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008107/0.8757, allocations: 306.6 kB / 1.355 GB, free: 6.539 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.8762, allocations: 171.3 kB / 1.356 GB, free: 6.371 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.8766, allocations: 215.4 kB / 1.356 GB, free: 6.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.8768, allocations: 53.05 kB / 1.356 GB, free: 6.109 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.8769, allocations: 59.77 kB / 1.356 GB, free: 6.051 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.877, allocations: 55.77 kB / 1.356 GB, free: 5.996 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.877, allocations: 12 kB / 1.356 GB, free: 5.984 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.8776, allocations: 371.2 kB / 1.356 GB, free: 5.621 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.8777, allocations: 27.86 kB / 1.356 GB, free: 5.594 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.8777, allocations: 59.67 kB / 1.356 GB, free: 5.535 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.8782, allocations: 296.9 kB / 1.357 GB, free: 5.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8782, allocations: 3.984 kB / 1.357 GB, free: 5.246 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8782, allocations: 4 kB / 1.357 GB, free: 5.242 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8782, allocations: 0 / 1.357 GB, free: 5.242 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.0006763/0.8789, allocations: 466.8 kB / 1.357 GB, free: 4.738 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.879, allocations: 8.031 kB / 1.357 GB, free: 4.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.8793, allocations: 40.72 kB / 1.357 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.8796, allocations: 209.6 kB / 1.357 GB, free: 4.449 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8796, allocations: 11.94 kB / 1.357 GB, free: 4.438 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.8796, allocations: 12 kB / 1.357 GB, free: 4.426 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.8799, allocations: 109.6 kB / 1.357 GB, free: 4.312 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8799, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.8799, allocations: 4 kB / 1.358 GB, free: 4.309 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.8799, allocations: 4 kB / 1.358 GB, free: 4.305 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.8802, allocations: 91.92 kB / 1.358 GB, free: 4.215 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.8809, allocations: 464 kB / 1.358 GB, free: 3.711 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.8811, allocations: 98.45 kB / 1.358 GB, free: 3.605 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.8812, allocations: 32.95 kB / 1.358 GB, free: 3.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.8812, allocations: 8 kB / 1.358 GB, free: 3.562 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.8813, allocations: 34.56 kB / 1.358 GB, free: 3.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.8813, allocations: 0 / 1.358 GB, free: 3.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004223/0.8817, allocations: 145.4 kB / 1.358 GB, free: 3.371 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.8817, allocations: 55.41 kB / 1.358 GB, free: 3.305 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.8819, allocations: 192.1 kB / 1.359 GB, free: 3.109 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8819, allocations: 25.7 kB / 1.359 GB, free: 3.078 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.882, allocations: 116 kB / 1.359 GB, free: 2.961 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.882, allocations: 19.72 kB / 1.359 GB, free: 2.941 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.8821, allocations: 21.7 kB / 1.359 GB, free: 2.914 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.8822, allocations: 326.8 kB / 1.359 GB, free: 2.586 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.8823, allocations: 27.98 kB / 1.359 GB, free: 2.559 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.532e-05/0.8824, allocations: 39.97 kB / 1.359 GB, free: 2.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.8826, allocations: 77.27 kB / 1.359 GB, free: 2.441 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8826, allocations: 7.875 kB / 1.359 GB, free: 2.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000261/0.8829, allocations: 117.5 kB / 1.359 GB, free: 2.312 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8829, allocations: 9.719 kB / 1.359 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8829, allocations: 0 / 1.359 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.8829, allocations: 0 / 1.359 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.8831, allocations: 19.98 kB / 1.359 GB, free: 2.285 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8831, allocations: 4 kB / 1.359 GB, free: 2.281 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.8832, allocations: 15.92 kB / 1.359 GB, free: 2.266 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.8832, allocations: 0 / 1.359 GB, free: 2.266 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.672e-05/0.8833, allocations: 129.7 kB / 1.359 GB, free: 2.129 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.8834, allocations: 11.81 kB / 1.36 GB, free: 2.117 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.8837, allocations: 123 kB / 1.36 GB, free: 1.992 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8837, allocations: 0 / 1.36 GB, free: 1.992 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8837, allocations: 0 / 1.36 GB, free: 1.992 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.8837, allocations: 89.02 kB / 1.36 GB, free: 1.887 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.8838, allocations: 4 kB / 1.36 GB, free: 1.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.8839, allocations: 11.92 kB / 1.36 GB, free: 1.871 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.884, allocations: 8 kB / 1.36 GB, free: 1.863 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003425/0.8843, allocations: 196.8 kB / 1.36 GB, free: 1.664 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003168/0.8846, allocations: 278.6 kB / 1.36 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001102/0.8847, allocations: 35.98 kB / 1.36 GB, free: 1.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001106/0.8849, allocations: 135.2 kB / 1.36 GB, free: 1.207 MB / 1.076 GB Notification: Performance of Backend: time 2.61e-07/0.8849, allocations: 0 / 1.36 GB, free: 1.207 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.8855, allocations: 210.1 kB / 1.361 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of SimCode: time 0.00067/0.8862, allocations: 0.7011 MB / 1.361 GB, free: 248 kB / 1.076 GB Notification: Performance of Templates: time 0.005607/0.8918, allocations: 2.556 MB / 1.364 GB, free: 13.7 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches