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.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.001852/0.001852, allocations: 110 kB / 18.93 MB, free: 2.945 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.002284/0.002284, allocations: 188.3 kB / 22.23 MB, free: 5.16 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.468/1.468, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.216/3.216, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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 0.002174/0.002174, allocations: 56.84 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.405, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1983/0.6033, allocations: 149.5 MB / 1.453 GB, free: 11.69 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.6052, allocations: 1.141 MB / 1.454 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.6054, allocations: 8 kB / 1.454 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.6058, allocations: 59.66 kB / 1.454 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008445/0.6066, allocations: 318.6 kB / 1.455 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.6071, allocations: 163.4 kB / 1.455 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.6076, allocations: 223.2 kB / 1.455 GB, free: 9.789 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.6077, allocations: 41.28 kB / 1.455 GB, free: 9.75 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.6078, allocations: 59.78 kB / 1.455 GB, free: 9.691 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.6079, allocations: 55.7 kB / 1.455 GB, free: 9.637 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.6079, allocations: 12 kB / 1.455 GB, free: 9.625 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006241/0.6085, allocations: 383.2 kB / 1.456 GB, free: 9.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.6086, allocations: 35.84 kB / 1.456 GB, free: 9.215 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.6087, allocations: 63.67 kB / 1.456 GB, free: 9.152 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.6092, allocations: 291 kB / 1.456 GB, free: 8.867 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6092, allocations: 0 / 1.456 GB, free: 8.867 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6092, allocations: 0 / 1.456 GB, free: 8.867 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.6092, allocations: 0 / 1.456 GB, free: 8.867 MB / 1.154 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.0007326/0.6099, allocations: 393.4 kB / 1.456 GB, free: 8.453 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.61, allocations: 12.92 kB / 1.456 GB, free: 8.441 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.6103, allocations: 44.8 kB / 1.456 GB, free: 8.398 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.6106, allocations: 158.2 kB / 1.457 GB, free: 8.219 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6106, allocations: 7.938 kB / 1.457 GB, free: 8.211 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.6106, allocations: 11.98 kB / 1.457 GB, free: 8.199 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.6109, allocations: 117.6 kB / 1.457 GB, free: 8.078 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.611, allocations: 4 kB / 1.457 GB, free: 8.074 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.611, allocations: 7.938 kB / 1.457 GB, free: 8.066 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.611, allocations: 4 kB / 1.457 GB, free: 8.062 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.6112, allocations: 91.88 kB / 1.457 GB, free: 7.973 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.612, allocations: 419.4 kB / 1.457 GB, free: 7.52 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.6122, allocations: 90.55 kB / 1.457 GB, free: 7.422 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.6124, allocations: 40.88 kB / 1.457 GB, free: 7.379 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6124, allocations: 0 / 1.457 GB, free: 7.379 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.6124, allocations: 30.56 kB / 1.457 GB, free: 7.34 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.6124, allocations: 0 / 1.457 GB, free: 7.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004708/0.6129, allocations: 149.5 kB / 1.458 GB, free: 7.188 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.6129, allocations: 51.41 kB / 1.458 GB, free: 7.125 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.6131, allocations: 178.3 kB / 1.458 GB, free: 6.941 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.6132, allocations: 29.7 kB / 1.458 GB, free: 6.906 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.6133, allocations: 116 kB / 1.458 GB, free: 6.789 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.6133, allocations: 27.75 kB / 1.458 GB, free: 6.762 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.6133, allocations: 21.7 kB / 1.458 GB, free: 6.734 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6135, allocations: 330.8 kB / 1.458 GB, free: 6.402 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.6136, allocations: 35.91 kB / 1.458 GB, free: 6.367 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.6137, allocations: 35.97 kB / 1.458 GB, free: 6.332 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.6139, allocations: 73.3 kB / 1.458 GB, free: 6.258 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6139, allocations: 0 / 1.458 GB, free: 6.258 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002733/0.6142, allocations: 117.6 kB / 1.459 GB, free: 6.137 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6142, allocations: 4 kB / 1.459 GB, free: 6.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.6142, allocations: 0 / 1.459 GB, free: 6.133 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6142, allocations: 0 / 1.459 GB, free: 6.133 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.6144, allocations: 23.92 kB / 1.459 GB, free: 6.109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6144, allocations: 3.984 kB / 1.459 GB, free: 6.105 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.866e-05/0.6145, allocations: 19.83 kB / 1.459 GB, free: 6.086 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6145, allocations: 4 kB / 1.459 GB, free: 6.082 MB / 1.154 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.0001574/0.6147, allocations: 126.7 kB / 1.459 GB, free: 5.949 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.6147, allocations: 19.89 kB / 1.459 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.615, allocations: 115 kB / 1.459 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.615, allocations: 4 kB / 1.459 GB, free: 5.809 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.615, allocations: 0 / 1.459 GB, free: 5.809 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.615, allocations: 3.938 kB / 1.459 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.6153, allocations: 196.5 kB / 1.459 GB, free: 5.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.6153, allocations: 7.984 kB / 1.459 GB, free: 5.562 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.6154, allocations: 16 kB / 1.459 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.6154, allocations: 7.984 kB / 1.459 GB, free: 5.539 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.6154, allocations: 0 / 1.459 GB, free: 5.539 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6154, allocations: 0 / 1.459 GB, free: 5.539 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6154, allocations: 0 / 1.459 GB, free: 5.539 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.6157, allocations: 207.4 kB / 1.459 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.6158, allocations: 23.94 kB / 1.459 GB, free: 5.297 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.6158, allocations: 3.984 kB / 1.459 GB, free: 5.293 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6159, allocations: 4 kB / 1.459 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.6159, allocations: 15.92 kB / 1.459 GB, free: 5.273 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.6159, allocations: 0 / 1.459 GB, free: 5.273 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001267/0.6161, allocations: 136.2 kB / 1.459 GB, free: 5.141 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6161, allocations: 0 / 1.459 GB, free: 5.141 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002487/0.6163, allocations: 27.89 kB / 1.459 GB, free: 5.113 MB / 1.154 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.0001859/0.6165, allocations: 108 kB / 1.46 GB, free: 4.996 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.6168, allocations: 71.89 kB / 1.46 GB, free: 4.926 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6168, allocations: 0 / 1.46 GB, free: 4.926 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.6169, allocations: 43.91 kB / 1.46 GB, free: 4.883 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.6173, allocations: 31.92 kB / 1.46 GB, free: 4.852 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.6179, allocations: 253 kB / 1.46 GB, free: 4.578 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.6182, allocations: 0.708 MB / 1.461 GB, free: 3.844 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.277e-05/0.6183, allocations: 8.984 kB / 1.461 GB, free: 3.836 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.6183, allocations: 19.44 kB / 1.461 GB, free: 3.816 MB / 1.154 GB Notification: Performance of SimCode: time 4.11e-07/0.6183, allocations: 0 / 1.461 GB, free: 3.816 MB / 1.154 GB Notification: Performance of Templates: time 0.005195/0.6235, allocations: 1.642 MB / 1.462 GB, free: 2.195 MB / 1.154 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 -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/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.321132530458272]