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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 496.2 MB / 0.7819 GB, free: 12.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8451, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1748/1.02, allocations: 149.5 MB / 1.451 GB, free: 4.77 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001757/1.022, allocations: 1.137 MB / 1.453 GB, free: 3.965 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/1.022, allocations: 2.125 kB / 1.453 GB, free: 3.965 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/1.022, allocations: 55.28 kB / 1.453 GB, free: 3.938 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000877/1.023, allocations: 322.9 kB / 1.453 GB, free: 3.766 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/1.023, allocations: 165.6 kB / 1.453 GB, free: 3.684 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/1.024, allocations: 227.4 kB / 1.453 GB, free: 3.578 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/1.024, allocations: 48.45 kB / 1.453 GB, free: 3.555 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/1.024, allocations: 49.03 kB / 1.453 GB, free: 3.531 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/1.024, allocations: 64.58 kB / 1.453 GB, free: 3.496 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/1.024, allocations: 12.06 kB / 1.453 GB, free: 3.496 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/1.025, allocations: 376.3 kB / 1.454 GB, free: 3.367 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/1.025, allocations: 32.88 kB / 1.454 GB, free: 3.348 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/1.025, allocations: 60.22 kB / 1.454 GB, free: 3.309 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/1.026, allocations: 296.5 kB / 1.454 GB, free: 3.199 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.026, allocations: 5 kB / 1.454 GB, free: 3.195 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.432e-06/1.026, allocations: 0 / 1.454 GB, free: 3.195 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.026, allocations: 0 / 1.454 GB, free: 3.195 MB / 1.139 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.0007872/1.026, allocations: 470.7 kB / 1.455 GB, free: 2.762 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/1.026, allocations: 10.88 kB / 1.455 GB, free: 2.762 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/1.027, allocations: 42.33 kB / 1.455 GB, free: 2.746 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/1.027, allocations: 215.8 kB / 1.455 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.027, allocations: 12.36 kB / 1.455 GB, free: 2.512 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/1.027, allocations: 11.19 kB / 1.455 GB, free: 2.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/1.027, allocations: 120.1 kB / 1.455 GB, free: 2.441 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.027, allocations: 0 / 1.455 GB, free: 2.441 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/1.027, allocations: 6.109 kB / 1.455 GB, free: 2.438 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.027, allocations: 2.562 kB / 1.455 GB, free: 2.438 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/1.028, allocations: 92.45 kB / 1.455 GB, free: 2.41 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/1.029, allocations: 454.6 kB / 1.456 GB, free: 2.047 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/1.029, allocations: 88.88 kB / 1.456 GB, free: 1.996 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/1.029, allocations: 40.3 kB / 1.456 GB, free: 1.977 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/1.029, allocations: 5.844 kB / 1.456 GB, free: 1.973 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.029, allocations: 31.66 kB / 1.456 GB, free: 1.934 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.029, allocations: 0 / 1.456 GB, free: 1.934 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.0004614/1.029, allocations: 141.1 kB / 1.456 GB, free: 1.867 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.029, allocations: 57.48 kB / 1.456 GB, free: 1.801 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/1.03, allocations: 186.5 kB / 1.456 GB, free: 1.672 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.03, allocations: 30.83 kB / 1.456 GB, free: 1.637 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/1.03, allocations: 110.7 kB / 1.456 GB, free: 1.535 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/1.03, allocations: 24.58 kB / 1.456 GB, free: 1.516 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/1.03, allocations: 24.78 kB / 1.456 GB, free: 1.492 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.03, allocations: 325.9 kB / 1.457 GB, free: 1.172 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/1.03, allocations: 38.72 kB / 1.457 GB, free: 1.156 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/1.03, allocations: 31.89 kB / 1.457 GB, free: 1.148 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.03, allocations: 78.94 kB / 1.457 GB, free: 1.113 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.03, allocations: 0 / 1.457 GB, free: 1.113 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000288/1.031, allocations: 115.4 kB / 1.457 GB, free: 1.055 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.031, allocations: 6.062 kB / 1.457 GB, free: 1.055 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.031, allocations: 4 kB / 1.457 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.031, allocations: 1.312 kB / 1.457 GB, free: 1.051 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.031, allocations: 21.22 kB / 1.457 GB, free: 1.047 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.031, allocations: 0.5156 kB / 1.457 GB, free: 1.047 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/1.031, allocations: 19.7 kB / 1.457 GB, free: 1.035 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.031, allocations: 7.141 kB / 1.457 GB, free: 1.031 MB / 1.139 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.0001043/1.031, allocations: 123.8 kB / 1.457 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/1.031, allocations: 13.98 kB / 1.457 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/1.032, allocations: 129.4 kB / 1.457 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/1.032, allocations: 1.312 kB / 1.457 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.032, allocations: 0 / 1.457 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.032, allocations: 2.156 kB / 1.457 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/1.032, allocations: 221.5 kB / 1.457 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.032, allocations: 2.016 kB / 1.457 GB, free: 0.6055 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.032, allocations: 19.45 kB / 1.457 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.032, allocations: 4.547 kB / 1.457 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/1.032, allocations: 5.344 kB / 1.457 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.032, allocations: 0.8906 kB / 1.457 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.032, allocations: 1.406 kB / 1.457 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/1.032, allocations: 210.9 kB / 1.458 GB, free: 440 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/1.032, allocations: 90.28 kB / 1.458 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.032, allocations: 0.5156 kB / 1.458 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/1.032, allocations: 10.98 kB / 1.458 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/1.033, allocations: 4.766 kB / 1.458 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/1.033, allocations: 1.438 kB / 1.458 GB, free: 332 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001274/1.033, allocations: 140.4 kB / 1.458 GB, free: 232 kB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 0 / 1.458 GB, free: 232 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002596/1.033, allocations: 23.59 kB / 1.458 GB, free: 228 kB / 1.139 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.0001625/1.033, allocations: 111.9 kB / 1.458 GB, free: 128 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002826/1.033, allocations: 78.08 kB / 1.458 GB, free: 104 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.033, allocations: 3.938 kB / 1.458 GB, free: 100 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/1.033, allocations: 36.06 kB / 1.458 GB, free: 92 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/1.034, allocations: 36.91 kB / 1.458 GB, free: 76 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/1.034, allocations: 267 kB / 1.458 GB, free: 15.89 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/1.035, allocations: 0.7119 MB / 1.459 GB, free: 15.19 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 7.833e-05/1.035, allocations: 14.48 kB / 1.459 GB, free: 15.18 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/1.035, allocations: 17.12 kB / 1.459 GB, free: 15.17 MB / 1.154 GB Notification: Performance of SimCode: time 4.1e-07/1.035, allocations: 1.406 kB / 1.459 GB, free: 15.17 MB / 1.154 GB Notification: Performance of Templates: time 0.00502/1.04, allocations: 1.619 MB / 1.461 GB, free: 15.02 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.986105729825795]