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.001342/0.001342, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001438/0.001438, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.738/2.738, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9123, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1551/1.067, allocations: 131 MB / 1.282 GB, free: 8.988 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001615/1.069, allocations: 1.025 MB / 1.283 GB, free: 8.312 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/1.069, allocations: 6.375 kB / 1.283 GB, free: 8.309 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003182/1.069, allocations: 50.88 kB / 1.283 GB, free: 8.281 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0007979/1.07, allocations: 321.2 kB / 1.283 GB, free: 8.117 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/1.071, allocations: 166 kB / 1.283 GB, free: 8.035 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004556/1.071, allocations: 228.6 kB / 1.284 GB, free: 7.93 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/1.071, allocations: 37.88 kB / 1.284 GB, free: 7.914 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 8.214e-05/1.071, allocations: 54.52 kB / 1.284 GB, free: 7.887 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/1.071, allocations: 56.92 kB / 1.284 GB, free: 7.859 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/1.071, allocations: 11.91 kB / 1.284 GB, free: 7.859 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/1.072, allocations: 238.2 kB / 1.284 GB, free: 7.785 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/1.072, allocations: 31.61 kB / 1.284 GB, free: 7.766 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/1.072, allocations: 48.19 kB / 1.284 GB, free: 7.738 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/1.072, allocations: 285.5 kB / 1.284 GB, free: 7.633 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.072, allocations: 1.703 kB / 1.284 GB, free: 7.633 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.202e-06/1.072, allocations: 0 / 1.284 GB, free: 7.633 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.072, allocations: 0 / 1.284 GB, free: 7.633 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.0006746/1.073, allocations: 403.3 kB / 1.285 GB, free: 7.285 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/1.073, allocations: 9.328 kB / 1.285 GB, free: 7.285 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00048/1.074, allocations: 49.89 kB / 1.285 GB, free: 7.273 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/1.074, allocations: 161.1 kB / 1.285 GB, free: 7.113 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.074, allocations: 8.438 kB / 1.285 GB, free: 7.109 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/1.074, allocations: 9.562 kB / 1.285 GB, free: 7.105 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/1.074, allocations: 115.6 kB / 1.285 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.074, allocations: 0 / 1.285 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/1.074, allocations: 5.75 kB / 1.285 GB, free: 7.043 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.074, allocations: 3.25 kB / 1.285 GB, free: 7.043 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/1.074, allocations: 95.94 kB / 1.285 GB, free: 7.012 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/1.075, allocations: 360.7 kB / 1.286 GB, free: 6.727 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/1.075, allocations: 86.45 kB / 1.286 GB, free: 6.68 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/1.076, allocations: 39.11 kB / 1.286 GB, free: 6.66 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.076, allocations: 1.625 kB / 1.286 GB, free: 6.66 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/1.076, allocations: 32.81 kB / 1.286 GB, free: 6.621 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.076, allocations: 4 kB / 1.286 GB, free: 6.617 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.0004568/1.076, allocations: 139.6 kB / 1.286 GB, free: 6.551 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/1.076, allocations: 54.56 kB / 1.286 GB, free: 6.488 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.076, allocations: 146.3 kB / 1.286 GB, free: 6.375 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/1.076, allocations: 26.95 kB / 1.286 GB, free: 6.344 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/1.076, allocations: 119.4 kB / 1.286 GB, free: 6.234 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/1.076, allocations: 25.34 kB / 1.286 GB, free: 6.215 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/1.076, allocations: 20.55 kB / 1.286 GB, free: 6.195 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.077, allocations: 328.2 kB / 1.286 GB, free: 5.871 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/1.077, allocations: 32.09 kB / 1.287 GB, free: 5.863 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/1.077, allocations: 39.31 kB / 1.287 GB, free: 5.848 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/1.077, allocations: 75.45 kB / 1.287 GB, free: 5.816 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.077, allocations: 0 / 1.287 GB, free: 5.816 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002866/1.077, allocations: 114.8 kB / 1.287 GB, free: 5.758 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.077, allocations: 8.781 kB / 1.287 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.077, allocations: 0 / 1.287 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.077, allocations: 1.953 kB / 1.287 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.077, allocations: 20.78 kB / 1.287 GB, free: 5.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.077, allocations: 1.281 kB / 1.287 GB, free: 5.75 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/1.078, allocations: 19.44 kB / 1.287 GB, free: 5.738 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.078, allocations: 1.625 kB / 1.287 GB, free: 5.738 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.0001103/1.078, allocations: 129.5 kB / 1.287 GB, free: 5.609 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/1.078, allocations: 7.453 kB / 1.287 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/1.078, allocations: 123.5 kB / 1.287 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.078, allocations: 1 kB / 1.287 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.078, allocations: 1.156 kB / 1.287 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.078, allocations: 0.5625 kB / 1.287 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/1.078, allocations: 156.8 kB / 1.287 GB, free: 5.391 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.078, allocations: 0 / 1.287 GB, free: 5.391 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.078, allocations: 15.81 kB / 1.287 GB, free: 5.391 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/1.078, allocations: 5.438 kB / 1.287 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.078, allocations: 4 kB / 1.287 GB, free: 5.383 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.078, allocations: 1.844 kB / 1.287 GB, free: 5.383 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.078, allocations: 0.625 kB / 1.287 GB, free: 5.383 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/1.079, allocations: 219.3 kB / 1.287 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/1.079, allocations: 7.859 kB / 1.287 GB, free: 5.207 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.079, allocations: 2.266 kB / 1.287 GB, free: 5.207 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.079, allocations: 7.203 kB / 1.287 GB, free: 5.207 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/1.079, allocations: 8.562 kB / 1.287 GB, free: 5.203 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.079, allocations: 1.531 kB / 1.287 GB, free: 5.203 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001067/1.079, allocations: 121 kB / 1.288 GB, free: 5.113 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.079, allocations: 0 / 1.288 GB, free: 5.113 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002591/1.079, allocations: 30.23 kB / 1.288 GB, free: 5.102 MB / 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.0001334/1.079, allocations: 100.6 kB / 1.288 GB, free: 5.016 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000289/1.08, allocations: 81.77 kB / 1.288 GB, free: 4.988 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.08, allocations: 5.094 kB / 1.288 GB, free: 4.984 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/1.08, allocations: 35.58 kB / 1.288 GB, free: 4.977 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/1.08, allocations: 32.28 kB / 1.288 GB, free: 4.965 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/1.081, allocations: 252.3 kB / 1.288 GB, free: 4.785 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/1.081, allocations: 96.22 kB / 1.288 GB, free: 4.703 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.874e-05/1.081, allocations: 11.59 kB / 1.288 GB, free: 4.699 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/1.081, allocations: 13.03 kB / 1.288 GB, free: 4.691 MB / 1.139 GB Notification: Performance of SimCode: time 3.2e-07/1.081, allocations: 1.25 kB / 1.288 GB, free: 4.691 MB / 1.139 GB Notification: Performance of Templates: time 0.004712/1.086, allocations: 1.55 MB / 1.29 GB, free: 4.496 MB / 1.139 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 8.61297618795652]