Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.0007688/0.0007688, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001793, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006741/0.0006741, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008758/0.00155, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9247/0.9247, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08799/1.013, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.798/1.798, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.444/2.242, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.477e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003095/0.00311, allocations: 2.274 MB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.005547, allocations: 1.39 MB / 0.7332 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.00565, allocations: 4 kB / 0.7332 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.006186, allocations: 235 kB / 0.7335 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009755/0.007162, allocations: 428.6 kB / 0.7339 GB, free: 140 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.05e-05/0.007172, allocations: 0 / 0.7339 GB, free: 140 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.007634, allocations: 406.4 kB / 0.7343 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.007693, allocations: 11.44 kB / 0.7343 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.007981, allocations: 237 kB / 0.7345 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.00824, allocations: 180.3 kB / 0.7347 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.008279, allocations: 24 kB / 0.7347 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.008848, allocations: 305.3 kB / 0.735 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.009152, allocations: 359.3 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.009333, allocations: 171.6 kB / 0.7355 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008375/0.01017, allocations: 0.5877 MB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.01018, allocations: 0.5 kB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01019, allocations: 1.094 kB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.0102, allocations: 0 / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001168/0.01137, allocations: 0.968 MB / 0.737 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01141, allocations: 8.688 kB / 0.737 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.01185, allocations: 179 kB / 0.7372 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.0124, allocations: 489.8 kB / 0.7377 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.01242, allocations: 12.38 kB / 0.7377 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.01245, allocations: 13.62 kB / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.01272, allocations: 155.1 kB / 0.7378 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01273, allocations: 1.219 kB / 0.7378 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.01275, allocations: 8.375 kB / 0.7378 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.01276, allocations: 11.88 kB / 0.7379 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.01297, allocations: 113.3 kB / 0.738 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.01405, allocations: 0.6485 MB / 0.7386 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.01428, allocations: 163.6 kB / 0.7388 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.01434, allocations: 44.83 kB / 0.7388 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.01437, allocations: 25.2 kB / 0.7388 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.0144, allocations: 38.55 kB / 0.7389 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.0144, allocations: 0 / 0.7389 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0005563/0.01496, allocations: 152.8 kB / 0.739 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.01499, allocations: 51.41 kB / 0.7391 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.01556, allocations: 0.877 MB / 0.7399 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01558, allocations: 29.7 kB / 0.7399 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.01568, allocations: 202.8 kB / 0.7401 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.01571, allocations: 67.41 kB / 0.7402 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.01577, allocations: 50.39 kB / 0.7402 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.01585, allocations: 325.9 kB / 0.7406 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.01593, allocations: 51.62 kB / 0.7406 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.01602, allocations: 73.67 kB / 0.7407 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.0162, allocations: 150.5 kB / 0.7408 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.0162, allocations: 0 / 0.7408 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002498/0.01645, allocations: 212.9 kB / 0.741 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01646, allocations: 4 kB / 0.741 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.01647, allocations: 0 / 0.741 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01648, allocations: 5.156 kB / 0.741 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.01665, allocations: 63.94 kB / 0.7411 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.01666, allocations: 4.719 kB / 0.7411 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01679, allocations: 30.52 kB / 0.7411 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.0168, allocations: 11.92 kB / 0.7411 GB, free: 8.527 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 9.243e-05/0.01689, allocations: 120.7 kB / 0.7412 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.01694, allocations: 43.95 kB / 0.7413 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.01715, allocations: 176.8 kB / 0.7415 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01716, allocations: 4 kB / 0.7415 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01716, allocations: 0 / 0.7415 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01716, allocations: 3.938 kB / 0.7415 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/0.01799, allocations: 0.8788 MB / 0.7423 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.018, allocations: 11.94 kB / 0.7423 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.01815, allocations: 51.89 kB / 0.7424 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.01822, allocations: 79.5 kB / 0.7425 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01822, allocations: 4 kB / 0.7425 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01824, allocations: 11.98 kB / 0.7425 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01824, allocations: 10.31 kB / 0.7425 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.01825, allocations: 11.88 kB / 0.7425 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.0185, allocations: 325 kB / 0.7428 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.01854, allocations: 9.031 kB / 0.7428 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.01867, allocations: 15.98 kB / 0.7428 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.01869, allocations: 24.8 kB / 0.7429 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01871, allocations: 15.98 kB / 0.7429 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003299/0.01904, allocations: 0.5111 MB / 0.7434 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01904, allocations: 2.25 kB / 0.7434 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003168/0.01936, allocations: 171.9 kB / 0.7435 GB, free: 5.855 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.00021/0.01956, allocations: 164.7 kB / 0.7437 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.01977, allocations: 150.9 kB / 0.7438 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.01978, allocations: 8 kB / 0.7438 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.01994, allocations: 148.8 kB / 0.744 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.02128, allocations: 1.914 MB / 0.7459 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.02946, allocations: 1.673 MB / 0.7475 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.0296, allocations: 209.9 kB / 0.7477 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.02977, allocations: 69.89 kB / 0.7478 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.03005, allocations: 185.2 kB / 0.7479 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.03005, allocations: 1.094 kB / 0.7479 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of Templates: time 0.01364/0.04369, allocations: 12.27 MB / 0.7599 GB, free: 4.973 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.892434319481254]