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.007112/0.007112, allocations: 100.3 kB / 15.73 MB, free: 6 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.001651/0.001651, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 59.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8662, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.162/1.028, allocations: 149 MB / 1.353 GB, free: 8.082 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001756/1.03, allocations: 1.133 MB / 1.354 GB, free: 6.945 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/1.03, allocations: 0 / 1.354 GB, free: 6.945 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003997/1.031, allocations: 55.67 kB / 1.354 GB, free: 6.891 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009564/1.032, allocations: 310.6 kB / 1.355 GB, free: 6.586 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/1.032, allocations: 163.4 kB / 1.355 GB, free: 6.426 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005001/1.033, allocations: 223.3 kB / 1.355 GB, free: 6.207 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/1.033, allocations: 53.11 kB / 1.355 GB, free: 6.156 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/1.033, allocations: 63.66 kB / 1.355 GB, free: 6.094 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/1.033, allocations: 55.7 kB / 1.355 GB, free: 6.039 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/1.033, allocations: 16 kB / 1.355 GB, free: 6.023 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/1.034, allocations: 371.2 kB / 1.356 GB, free: 5.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/1.034, allocations: 31.91 kB / 1.356 GB, free: 5.629 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/1.034, allocations: 59.67 kB / 1.356 GB, free: 5.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/1.034, allocations: 296.8 kB / 1.356 GB, free: 5.285 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.034, allocations: 4 kB / 1.356 GB, free: 5.281 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.314e-06/1.034, allocations: 0 / 1.356 GB, free: 5.281 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.162e-06/1.034, allocations: 0 / 1.356 GB, free: 5.281 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.0007647/1.035, allocations: 466.9 kB / 1.356 GB, free: 4.777 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.035, allocations: 12.03 kB / 1.356 GB, free: 4.766 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/1.035, allocations: 36.72 kB / 1.356 GB, free: 4.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/1.036, allocations: 208 kB / 1.357 GB, free: 4.488 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/1.036, allocations: 11.94 kB / 1.357 GB, free: 4.477 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/1.036, allocations: 15.98 kB / 1.357 GB, free: 4.461 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/1.036, allocations: 113.6 kB / 1.357 GB, free: 4.344 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.036, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.036, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.036, allocations: 4 kB / 1.357 GB, free: 4.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/1.036, allocations: 91.94 kB / 1.357 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/1.037, allocations: 468 kB / 1.357 GB, free: 3.742 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/1.037, allocations: 86.55 kB / 1.357 GB, free: 3.648 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/1.038, allocations: 36.94 kB / 1.357 GB, free: 3.609 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/1.038, allocations: 4 kB / 1.357 GB, free: 3.605 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/1.038, allocations: 34.56 kB / 1.357 GB, free: 3.562 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/1.038, allocations: 7.938 kB / 1.358 GB, free: 3.555 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.00047/1.038, allocations: 145.4 kB / 1.358 GB, free: 3.406 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.038, allocations: 59.39 kB / 1.358 GB, free: 3.336 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/1.038, allocations: 180.1 kB / 1.358 GB, free: 3.152 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/1.038, allocations: 33.69 kB / 1.358 GB, free: 3.113 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/1.038, allocations: 116 kB / 1.358 GB, free: 2.996 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/1.039, allocations: 15.72 kB / 1.358 GB, free: 2.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/1.039, allocations: 29.7 kB / 1.358 GB, free: 2.945 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.039, allocations: 326.8 kB / 1.358 GB, free: 2.617 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.039, allocations: 27.98 kB / 1.358 GB, free: 2.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/1.039, allocations: 31.97 kB / 1.358 GB, free: 2.559 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/1.039, allocations: 72.83 kB / 1.358 GB, free: 2.484 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.039, allocations: 4 kB / 1.358 GB, free: 2.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002873/1.039, allocations: 117.4 kB / 1.359 GB, free: 2.359 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.039, allocations: 11.98 kB / 1.359 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.04, allocations: 3.938 kB / 1.359 GB, free: 2.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.04, allocations: 0 / 1.359 GB, free: 2.344 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.04, allocations: 15.98 kB / 1.359 GB, free: 2.328 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.04, allocations: 0 / 1.359 GB, free: 2.328 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/1.04, allocations: 11.94 kB / 1.359 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.04, allocations: 8 kB / 1.359 GB, free: 2.309 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 0.0001079/1.04, allocations: 126.6 kB / 1.359 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/1.04, allocations: 11.81 kB / 1.359 GB, free: 2.164 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/1.04, allocations: 127.5 kB / 1.359 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/1.04, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.04, allocations: 0 / 1.359 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/1.04, allocations: 3.984 kB / 1.359 GB, free: 2.031 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/1.041, allocations: 225.5 kB / 1.359 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.041, allocations: 0 / 1.359 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/1.041, allocations: 19.98 kB / 1.359 GB, free: 1.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.041, allocations: 0 / 1.359 GB, free: 1.742 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/1.041, allocations: 0 / 1.359 GB, free: 1.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.041, allocations: 4 kB / 1.359 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.041, allocations: 80 / 1.359 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/1.041, allocations: 219.2 kB / 1.359 GB, free: 1.508 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/1.041, allocations: 100.9 kB / 1.359 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/1.041, allocations: 0 / 1.359 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.041, allocations: 4 kB / 1.359 GB, free: 1.387 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/1.041, allocations: 7.984 kB / 1.359 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/1.041, allocations: 3.984 kB / 1.359 GB, free: 1.375 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001213/1.042, allocations: 139.2 kB / 1.36 GB, free: 1.238 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.042, allocations: 0 / 1.36 GB, free: 1.238 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002488/1.042, allocations: 20 kB / 1.36 GB, free: 1.219 MB / 1.076 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.0001749/1.042, allocations: 107.2 kB / 1.36 GB, free: 1.102 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002864/1.042, allocations: 79.83 kB / 1.36 GB, free: 1.023 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.042, allocations: 0 / 1.36 GB, free: 1.023 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/1.042, allocations: 35.97 kB / 1.36 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/1.043, allocations: 41.47 kB / 1.36 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/1.043, allocations: 260.5 kB / 1.36 GB, free: 0.668 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.044, allocations: 0.7119 MB / 1.361 GB, free: 15.93 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 7.333e-05/1.044, allocations: 8.891 kB / 1.361 GB, free: 15.92 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/1.044, allocations: 15.44 kB / 1.361 GB, free: 15.91 MB / 1.092 GB Notification: Performance of SimCode: time 2.61e-07/1.044, allocations: 4 kB / 1.361 GB, free: 15.9 MB / 1.092 GB Notification: Performance of Templates: time 0.00449/1.048, allocations: 1.63 MB / 1.362 GB, free: 14.29 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/jenkins/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