Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.754/1.754, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.253/3.253, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 175] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.755e-05/5.071e-05, allocations: 3.031 kB / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2642/0.2643, allocations: 144.5 MB / 0.952 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2665, allocations: 1.176 MB / 0.9531 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2667, allocations: 7.938 kB / 0.9532 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.2672, allocations: 43.69 kB / 0.9532 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.2682, allocations: 322.4 kB / 0.9535 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.2686, allocations: 175.2 kB / 0.9537 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.2692, allocations: 223.2 kB / 0.9539 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.2693, allocations: 45.2 kB / 0.9539 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.2695, allocations: 79.8 kB / 0.954 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2696, allocations: 47.88 kB / 0.954 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.2696, allocations: 12 kB / 0.9541 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.2701, allocations: 235.4 kB / 0.9543 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.2702, allocations: 35.84 kB / 0.9543 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.2703, allocations: 43.91 kB / 0.9544 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.2708, allocations: 287 kB / 0.9546 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2708, allocations: 0 / 0.9546 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2708, allocations: 0 / 0.9546 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2708, allocations: 0 / 0.9546 GB, free: 14.34 MB / 0.9167 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.0009703/0.2718, allocations: 0.4954 MB / 0.9551 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.2719, allocations: 12.03 kB / 0.9551 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.2724, allocations: 60.67 kB / 0.9552 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.2727, allocations: 156.4 kB / 0.9553 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2727, allocations: 4.375 kB / 0.9553 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2728, allocations: 12.38 kB / 0.9554 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.2731, allocations: 109.5 kB / 0.9555 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2731, allocations: 7.984 kB / 0.9555 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2731, allocations: 4 kB / 0.9555 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2731, allocations: 4 kB / 0.9555 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.2733, allocations: 79.91 kB / 0.9555 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.2742, allocations: 443.8 kB / 0.956 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2746, allocations: 91.03 kB / 0.9561 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2747, allocations: 43.78 kB / 0.9561 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.2748, allocations: 7.938 kB / 0.9561 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.2748, allocations: 37.39 kB / 0.9561 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2748, allocations: 0 / 0.9561 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0004453/0.2753, allocations: 125.5 kB / 0.9563 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2753, allocations: 55.34 kB / 0.9563 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.2755, allocations: 224.5 kB / 0.9565 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.2756, allocations: 29.7 kB / 0.9566 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.2757, allocations: 170.6 kB / 0.9567 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.2758, allocations: 23.8 kB / 0.9567 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.2758, allocations: 31.38 kB / 0.9568 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003207/0.2761, allocations: 0.4962 MB / 0.9573 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.2762, allocations: 23.98 kB / 0.9573 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.2763, allocations: 28.3 kB / 0.9573 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2765, allocations: 75.75 kB / 0.9574 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2765, allocations: 3.938 kB / 0.9574 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002592/0.2768, allocations: 109.6 kB / 0.9575 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.2768, allocations: 4 kB / 0.9575 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2768, allocations: 0 / 0.9575 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2768, allocations: 4 kB / 0.9575 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.277, allocations: 19.98 kB / 0.9575 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.277, allocations: 0 / 0.9575 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.277, allocations: 7.953 kB / 0.9575 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.2771, allocations: 4 kB / 0.9575 GB, free: 11.18 MB / 0.9167 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.0001894/0.2772, allocations: 172.5 kB / 0.9577 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.2773, allocations: 11.95 kB / 0.9577 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.2776, allocations: 110.4 kB / 0.9578 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2776, allocations: 4 kB / 0.9578 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2776, allocations: 4 kB / 0.9578 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2776, allocations: 0 / 0.9578 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.2779, allocations: 180.5 kB / 0.958 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2779, allocations: 3.938 kB / 0.958 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.278, allocations: 8 kB / 0.958 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.278, allocations: 4 kB / 0.958 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.278, allocations: 7.938 kB / 0.958 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.278, allocations: 0 / 0.958 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.278, allocations: 3.984 kB / 0.958 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.2784, allocations: 255.8 kB / 0.9583 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.2784, allocations: 11.89 kB / 0.9583 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.2784, allocations: 8 kB / 0.9583 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.2785, allocations: 3.938 kB / 0.9583 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.2786, allocations: 7.984 kB / 0.9583 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2786, allocations: 0 / 0.9583 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001671/0.2788, allocations: 165.2 kB / 0.9584 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2788, allocations: 0 / 0.9584 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002476/0.279, allocations: 31.89 kB / 0.9585 GB, free: 10.14 MB / 0.9167 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.0002284/0.2792, allocations: 103.2 kB / 0.9586 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2795, allocations: 75.66 kB / 0.9586 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2795, allocations: 0 / 0.9586 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.2796, allocations: 43.61 kB / 0.9587 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.28, allocations: 35.91 kB / 0.9587 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.2807, allocations: 255.1 kB / 0.959 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2808, allocations: 94.27 kB / 0.9591 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.088e-05/0.2809, allocations: 8.5 kB / 0.9591 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.2809, allocations: 16.48 kB / 0.9591 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.2809, allocations: 0 / 0.9591 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of Templates: time 0.005846/0.2868, allocations: 1.566 MB / 0.9606 GB, free: 7.934 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.707791424007155]